Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdenForshaw/b840ff477a7409d0c8ffac68eccbbd91 to your computer and use it in GitHub Desktop.
Save AdenForshaw/b840ff477a7409d0c8ffac68eccbbd91 to your computer and use it in GitHub Desktop.
Create or Replace BigQuery table with partition
create or replace table my_dataset.my_new_partitioned_table PARTITION BY date_column
as
(
select *
from my_dataset.my_table
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment