You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/11 10:42:06 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #13598: add examples for BigQuery load and extract jobs

turbaszek commented on a change in pull request #13598:
URL: https://github.com/apache/airflow/pull/13598#discussion_r554956795



##########
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:
       This bucket should also be created in system test




----------------------------------------------------------------
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:
users@infra.apache.org