Skip to content

Commit

Permalink
add missing project_id in BigQueryGetDataOperator (#30651)
Browse files Browse the repository at this point in the history
  • Loading branch information
ying-w committed Apr 15, 2023
1 parent d3aeb4d commit 4eab616
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/providers/google/cloud/operators/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,7 @@ def execute(self, context: Context):
schema: dict[str, list] = hook.get_schema(
dataset_id=self.dataset_id,
table_id=self.table_id,
project_id=self.project_id,
)
if "fields" in schema:
self.selected_fields = ",".join([field["name"] for field in schema["fields"]])
Expand Down

0 comments on commit 4eab616

Please sign in to comment.