Skip to content

Commit

Permalink
Replacing get_timeout with newer get_job_execution_timeout_seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
pgoslatara committed Mar 3, 2022
1 parent 3edda67 commit 7b23a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/adapters/bigquery/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ def upload_file(self, local_file_path: str, database: str, table_schema: str,
job = client.load_table_from_file(f, table_ref, rewind=True,
job_config=load_config)

timeout = self.connections.get_timeout(conn)
timeout = self.connections.get_job_execution_timeout_seconds(conn)
with self.connections.exception_handler("LOAD TABLE"):
self.poll_until_job_completes(job, timeout)

Expand Down

0 comments on commit 7b23a10

Please sign in to comment.