← BigQuery560 / 640
hardbq

Create a BigQuery table partitioned by day using a schema file

command

bq mk --table --time_partitioning_type=DAY DATASET.PARTITIONED_TABLE SCHEMA.json

also accepted

bq mk --table --time_partitioning_typebq mk --time_partitioning_type=DAY

Command breakdown

Part of the BigQuery CLI (bq) — BigQuery category.

bqmk--table--time_partitioning_type=DAYDATASET.PARTITIONED_TABLESCHEMA.json
FlagPurpose
--tableBoolean flag
--time_partitioning_typeSet to: DAY

Test your recall — not just your reading.

Practice with interactive quiz →