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/12 09:39:06 UTC

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

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



##########
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:
       @turbaszek where can I find the code for that? is it outside of this repo?




----------------------------------------------------------------
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