Skip to content

Instantly share code, notes, and snippets.

@dungdt88
Created March 12, 2019 07:47
Show Gist options
  • Save dungdt88/061acf1e927174a1e93e439737f127be to your computer and use it in GitHub Desktop.
Save dungdt88/061acf1e927174a1e93e439737f127be to your computer and use it in GitHub Desktop.
BigQuery Cheat Sheet

Copy a partition

bq cp -f [PROJECT]:[DATASET].[SOURCE_TABLE]\$[SOURCE_PARTITION] [PROJECT]:[DATASET].[DESTINATION_TABLE]\$[DESTINATION_PARTITION]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment