-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
BigQuery: no public method to retry/resubmit an existing job #5555
Comments
As luck with have it, PR #5552 (merged yesterday) moves the from google.cloud.bigquery import retry
my_retry = retry.DEFAULT_RETRY.with_deadline(30) |
Not sure the PR helps. The retry is for inserting a job, not for resubmitting an existing job. |
We have been retrying existing jobs previously by taking a job config and resubmitting it with a new job id. This seemed to work previously, but we are now experiencing a new issue. The
If this is expected behavior, how should this be circumvented? |
@dillonjohnson Rather than |
No much traction but I wonder if an optional arg |
Closing in favor of https://github.com/googleapis/google-cloud-python/issues/9781 |
There is currently no public method to resubmit an existing job for instance when a transient error
like 403 rateLimitExceeded is returned.
As a workaround, we currently use the following, which works for
query
andload
:Request is to have a method that works for any job type and is included in core package - as above private methods may change
The text was updated successfully, but these errors were encountered: