Skip to content

Instantly share code, notes, and snippets.

@diversemix
Created August 21, 2020 12:37
Show Gist options
  • Save diversemix/9a860171f71f9c77963253f4f9187795 to your computer and use it in GitHub Desktop.
Save diversemix/9a860171f71f9c77963253f4f9187795 to your computer and use it in GitHub Desktop.
BigQuery - partitioning example

BigQuery Partitioning

Create Table

CREATE TABLE test.Events(
  id int64,
  type string,
  info string,
  time date
) PARTITION BY time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment