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

fix: avoid unnecessary API call in QueryJob.result() when job is already finished #1900

Merged
merged 14 commits into from
Apr 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Chalmer Lowe <[email protected]>
  • Loading branch information
tswast and chalmerlowe committed Apr 17, 2024
commit 2a587aa67cb830ef6a173204bb461d2896e9848b
2 changes: 1 addition & 1 deletion tests/unit/test_job_retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def make_job_id(*args, **kwargs):
# jobs.getQueryResults x2
#
# Note: internalError is ambiguous in jobs.getQueryResults. The
# problem could be at the Google Frontend leve or it could be because
# problem could be at the Google Frontend level or it could be because
# the job has failed due to some transient issues and the BigQuery
# REST API is translating the job failed status into failure HTTP
# codes.
Expand Down