Skip to content

Conversation

Linchin
Copy link
Contributor

@Linchin Linchin commented Jun 13, 2024

When start_index is set, the user is not trying to get the first page of the result, and thus we don't need to overwrite page_size with max_results, which will only return the first page.

Fixes #1950 🦕

@Linchin Linchin requested a review from tswast June 13, 2024 22:37
@Linchin Linchin requested review from a team as code owners June 13, 2024 22:37
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Jun 14, 2024
Copy link
Contributor

@tswast tswast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Linchin Linchin enabled auto-merge (squash) June 17, 2024 17:07
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Jun 17, 2024
@Linchin Linchin merged commit 7d0fcee into googleapis:main Jun 17, 2024
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 API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

query result pagination caught in infinite loop
2 participants