bq update --require_partition_filter --time_partitioning_field ts -t page_impressions.raw
bq cp source_table destination_table
bq cp --location EU source_table destination_table
bq extract project-id:dataset.table 'gs://skim-dp-tmp/dataset/table/*'
The *
is required as the extract writes multiple files.
bq load --source_format AVRO page_impressions.raw gs://skim-dp-data/pi_export/000000000000
bq load --source_format AVRO --time_partitioning_field ts --time_partitioning_type DAY page_impressions.raw gs://skim-dp-data/pi_export/000000000001