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 2020/01/27 09:07:28 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #7192: [AIRFLOW-XXXX] Fix BigQuery example DAG

kaxil commented on a change in pull request #7192: [AIRFLOW-XXXX] Fix BigQuery example DAG
URL: https://github.com/apache/airflow/pull/7192#discussion_r371124228
 
 

 ##########
 File path: airflow/gcp/example_dags/example_bigquery.py
 ##########
 @@ -265,3 +265,7 @@
     execute_query_external_table >> bigquery_to_gcs >> delete_dataset
     create_table >> create_view >> delete_view >> delete_table >> delete_dataset
     create_dataset_with_location >> create_table_with_location >> delete_dataset_with_location
+
+if __name__ == '__main__':
+    dag.clear(reset_dag_runs=True)
+    dag.run()
 
 Review comment:
   Why do we need this?

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


With regards,
Apache Git Services