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

Feature Request: Add retry functionality #358

Closed
uniocto opened this issue Mar 30, 2021 · 2 comments
Closed

Feature Request: Add retry functionality #358

uniocto opened this issue Mar 30, 2021 · 2 comments
Assignees
Labels
api: bigquery Issues related to the googleapis/python-bigquery-pandas API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@uniocto
Copy link

uniocto commented Mar 30, 2021

Sometimes, I get the following error.

internalError  500
rateLimitExceeded  403

https://cloud.google.com/bigquery/docs/error-messages?hl=ja

So, Is it possible to add functionality to pandas-gbq that allows retries depending on the error code?

@tswast tswast added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Mar 30, 2021
@tswast
Copy link
Collaborator

tswast commented Mar 30, 2021

This is a good feature request. I've been thinking about this in relation to googleapis/python-bigquery#539 and I think pandas-gbq offers the right level of abstraction where this would be possible compared to the lower-level client library.

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-pandas API. label Jul 17, 2021
@tswast
Copy link
Collaborator

tswast commented Nov 30, 2021

Fixed by googleapis/python-bigquery#837

When google-cloud-bigquery 2.24.0 or later is installed, queries are retried automatically.

@tswast tswast closed this as completed Nov 30, 2021
@tswast tswast self-assigned this Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-pandas API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants