nuclearpinguin commented on a change in pull request #7192: [AIRFLOW-XXXX] Fix
BigQuery example DAG
URL: https://github.com/apache/airflow/pull/7192#discussion_r373870830
##########
File path: airflow/gcp/example_dags/example_bigquery.py
##########
@@ -201,10 +201,10 @@
create_view = BigQueryCreateEmptyTableOperator(
task_id="create_view",
- dataset_id=LOCATION_DATASET_NAME,
+ dataset_id=DATASET_NAME,
table_id="test_view",
view={
- "query": "SELECT * FROM `{}.test_table`".format(DATASET_NAME),
+ "query": f"SELECT * FROM `{PROJECT_ID}.{DATASET_NAME}.test_table`",
Review comment:
So, someone changed BQ operators and broke compatibility?
----------------------------------------------------------------
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