Skip to content

Commit 0fae6a0

Browse files
authored
Add table_resource to template fields for BigQueryCreateEmptyTableOperator (#28235)
1 parent 467a5e3 commit 0fae6a0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ class BigQueryCreateEmptyTableOperator(BaseOperator):
11561156
:param table_id: The Name of the table to be created. (templated)
11571157
:param table_resource: Table resource as described in documentation:
11581158
https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#Table
1159-
If provided all other parameters are ignored.
1159+
If provided all other parameters are ignored. (templated)
11601160
:param schema_fields: If set, the schema field list as defined here:
11611161
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.schema
11621162
@@ -1254,6 +1254,7 @@ class BigQueryCreateEmptyTableOperator(BaseOperator):
12541254
template_fields: Sequence[str] = (
12551255
"dataset_id",
12561256
"table_id",
1257+
"table_resource",
12571258
"project_id",
12581259
"gcs_schema_object",
12591260
"labels",

0 commit comments

Comments
 (0)