From 7b23a10890567cbad2cc4c4367c54f122895c24b Mon Sep 17 00:00:00 2001 From: pgoslatara Date: Thu, 3 Mar 2022 21:26:54 +0100 Subject: [PATCH] Replacing get_timeout with newer get_job_execution_timeout_seconds --- dbt/adapters/bigquery/impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/adapters/bigquery/impl.py b/dbt/adapters/bigquery/impl.py index 8fee0a45e..f04888826 100644 --- a/dbt/adapters/bigquery/impl.py +++ b/dbt/adapters/bigquery/impl.py @@ -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)