Skip to content

Commit

Permalink
Add table_resource to template fields for BigQueryCreateEmptyTableOpe…
Browse files Browse the repository at this point in the history
…rator (#28235)
  • Loading branch information
jbandoro committed Dec 28, 2022
1 parent 467a5e3 commit 0fae6a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion airflow/providers/google/cloud/operators/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ class BigQueryCreateEmptyTableOperator(BaseOperator):
:param table_id: The Name of the table to be created. (templated)
:param table_resource: Table resource as described in documentation:
https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#Table
If provided all other parameters are ignored.
If provided all other parameters are ignored. (templated)
:param schema_fields: If set, the schema field list as defined here:
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.schema
Expand Down Expand Up @@ -1254,6 +1254,7 @@ class BigQueryCreateEmptyTableOperator(BaseOperator):
template_fields: Sequence[str] = (
"dataset_id",
"table_id",
"table_resource",
"project_id",
"gcs_schema_object",
"labels",
Expand Down

0 comments on commit 0fae6a0

Please sign in to comment.