Last active
January 19, 2017 18:48
-
-
Save alexvanboxel/c011f42f734d69560aa5adf6df7b6430 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bq_to_gcp_avro = BigQueryToCloudStorageOperator( | |
task_id='bq_to_gcp_avro', | |
source_project_dataset_table='{{var.value.gcq_dataset}}.gsod_partition{{ ds_nodash }}', | |
destination_cloud_storage_uris=[ | |
'gs://{{var.value.gcs_bucket}}/path/{{ ds_nodash }}/part-*.avro' | |
], | |
export_format='AVRO', | |
bigquery_conn_id='gcp_smoke', | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment