nuclearpinguin commented on a change in pull request #7192: [AIRFLOW-XXXX] Fix
BigQuery example DAG
URL: https://github.com/apache/airflow/pull/7192#discussion_r373870911
##########
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:
With this, you can debug this DAG from IDE level (by debugging this file)
using DebugExecutor. Highly recommended for operators development 🚀
----------------------------------------------------------------
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]
With regards,
Apache Git Services