You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/26 23:13:32 UTC
[GitHub] [airflow] potiuk commented on a change in pull request #21718: Fix BigQueryCreateEmptyDatasetOperator to use the provided project_id
potiuk commented on a change in pull request #21718:
URL: https://github.com/apache/airflow/pull/21718#discussion_r815364508
##########
File path: airflow/providers/google/cloud/hooks/bigquery.py
##########
@@ -470,7 +470,7 @@ def create_empty_dataset(
dataset: Dataset = Dataset.from_api_repr(dataset_reference)
self.log.info('Creating dataset: %s in project: %s ', dataset.dataset_id, dataset.project)
- self.get_client(location=location).create_dataset(dataset=dataset, exists_ok=exists_ok)
+ self.get_client(project_id=project_id, location=location).create_dataset(dataset=dataset, exists_ok=exists_ok)
Review comment:
Agree!
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org