Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

gkevinzheng
Copy link
Contributor

@gkevinzheng gkevinzheng commented Jul 23, 2024

Using end_cursor instead of skipped_cursor to fix #547. There are some rare edge cases where skipped_cursor returns an empty string with still more things to skip. Switching to end_cursor resolves this issue. Also does not reintroduce the bug that was fixed in #18, as in those cases, skipped_cursor and end_cursor are the same.

Integration tests will be coming soon, maybe in a future PR, as making a dataset that consistently replicates this issue is still under investigation.

@gkevinzheng gkevinzheng requested review from a team as code owners July 23, 2024 19:49
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: datastore Issues related to the googleapis/python-datastore API. labels Jul 23, 2024
@gkevinzheng gkevinzheng merged commit 4982f9a into main Jul 30, 2024
@gkevinzheng gkevinzheng deleted the query-end-cursor branch July 30, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the googleapis/python-datastore API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug querying with offset
3 participants