TobKed commented on a change in pull request #13598:
URL: https://github.com/apache/airflow/pull/13598#discussion_r554936086
##########
File path:
airflow/providers/google/cloud/example_dags/example_bigquery_queries.py
##########
@@ -125,6 +126,39 @@
)
# [END howto_operator_bigquery_select_job]
+ extract_job = BigQueryInsertJobOperator(
+ task_id="extract_to_gcs_job",
+ configuration={
+ "extract": {
+ "sourceTable": {
+ "projectId": PROJECT_ID,
+ "datasetId": DATASET_NAME,
+ "tableId": TABLE_1,
+ },
+ "destinationUris":
["gs://example_bucket/dump/table.*.csv.gz"],
Review comment:
Could you put bucket it in the environment variable? Avoiding hard
coding will allow to run system tests
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]