- Notifications
You must be signed in to change notification settings - Fork321
perf: cache first page ofjobs.getQueryResults rows#374
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
perf: cache first page ofjobs.getQueryResults rows#374
Uh oh!
There was an error while loading.Please reload this page.
Conversation
tswast commentedNov 5, 2020
@busunkim96 Could you or another Yoshi take a look at this PR? It makes some modifications to an overridden |
steffnay left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM!
When there are large result sets, fetching rows while waiting for thequery to finish can cause the API to hang indefinitely. (This may be dueto an interaction between connection timeout and API timeout.)This reverts commit86f6a51 (googleapis#374).
When there are large result sets, fetching rows while waiting for thequery to finish can cause the API to hang indefinitely. (This may be dueto an interaction between connection timeout and API timeout.)This reverts commit86f6a51 (#374).Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:- [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea- [x] Ensure the tests and linter pass- [x] Code coverage does not decrease (if any source code was changed)- [x] Appropriate docs were updated (if necessary)Fixesgoogleapis/python-bigquery-pandas#343Fixes#394 🦕
Uh oh!
There was an error while loading.Please reload this page.
Replaces and simplifies#347 . The cache is only used if
max_results,page_size, andstart_indexare not set.Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Towards#362 🦕