query result pagination caught in infinite loop #1950
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
If you are still having issues, please be sure to include as much information as possible:
Environment details
python --version
3.11.6
pip --version
23.3.1
google-cloud-bigquery
version:pip show google-cloud-bigquery
3.24.0
Steps to reproduce
query.result(...)
called withpage_size
andstart_index
loops infinitelyi think
3.24.0
introduced this, as when we pinnedgoogle-cloud-bigquery
to3.23.1
, the issue abated.for what it's worth, with
3.24.0
each call toquery_job.result
returns much faster than in3.23.1
-- not sure if that's perf related or because it's not actually making the network callCode example
Logs
expect output is
The text was updated successfully, but these errors were encountered: