Skip to content

Commit 77626b7

Browse files
authored
Add project_id as a templated variable in two BQ operators (#24768)
1 parent d2459a2 commit 77626b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

airflow/providers/google/cloud/operators/bigquery.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,6 +1871,7 @@ class BigQueryUpsertTableOperator(BaseOperator):
18711871
'dataset_id',
18721872
'table_resource',
18731873
'impersonation_chain',
1874+
'project_id',
18741875
)
18751876
template_fields_renderers = {"table_resource": "json"}
18761877
ui_color = BigQueryUIColors.TABLE.value
@@ -2086,6 +2087,7 @@ class BigQueryInsertJobOperator(BaseOperator):
20862087
"configuration",
20872088
"job_id",
20882089
"impersonation_chain",
2090+
"project_id",
20892091
)
20902092
template_ext: Sequence[str] = (
20912093
".json",

0 commit comments

Comments
 (0)