Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 1.9.latest] Remove custom retry in get_table call #1424

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20241205-133606.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Fix issue where rate limit errors on table service calls are not retried
time: 2024-12-05T13:36:06.436005-05:00
custom:
Author: mikealfare
Issue: "1423"
5 changes: 1 addition & 4 deletions dbt/adapters/bigquery/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,7 @@ def get_bq_table(self, database, schema, identifier) -> Table:
# backwards compatibility: fill in with defaults if not specified
database = database or conn.credentials.database
schema = schema or conn.credentials.schema
return client.get_table(
table=self.table_ref(database, schema, identifier),
retry=self._retry.create_reopen_with_deadline(conn),
)
return client.get_table(self.table_ref(database, schema, identifier))

def drop_dataset(self, database, schema) -> None:
conn = self.get_thread_connection()
Expand Down
Loading