Skip to content

Commit

Permalink
Updated split_tablename functional call
Browse files Browse the repository at this point in the history
  • Loading branch information
cswpy committed Jul 12, 2022
1 parent 368c387 commit 920a81c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/providers/google/cloud/operators/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from airflow.models import BaseOperator, BaseOperatorLink
from airflow.models.xcom import XCom
from airflow.operators.sql import SQLCheckOperator, SQLIntervalCheckOperator, SQLValueCheckOperator
from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob, _split_tablename
from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob
from airflow.providers.google.cloud.hooks.gcs import GCSHook, _parse_gcs_url
from airflow.providers.google.cloud.links.bigquery import BigQueryDatasetLink, BigQueryTableLink

Expand Down Expand Up @@ -1143,7 +1143,7 @@ def execute(self, context: 'Context') -> None:

source_uris = [f"gs://{self.bucket}/{source_object}" for source_object in self.source_objects]

project_id, dataset_id, table_id = _split_tablename(
project_id, dataset_id, table_id = bq_hook.split_tablename(
table_input=self.destination_project_dataset_table,
default_project_id=bq_hook.project_id or '',
)
Expand Down

0 comments on commit 920a81c

Please sign in to comment.