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

fix(firestore): correct an issue with returning empty query partitions #4346

Merged
merged 1 commit into from Jun 30, 2021

Conversation

crwilcox
Copy link
Contributor

No description provided.

@crwilcox crwilcox requested review from tritone and a team as code owners June 29, 2021 23:40
@product-auto-label product-auto-label bot added the api: firestore Issues related to the Firestore API. label Jun 29, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jun 29, 2021
Copy link
Contributor

@tritone tritone left a comment

Choose a reason for hiding this comment

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

Is there a test that would/could have caught this?

@crwilcox
Copy link
Contributor Author

@tritone we have a test for getting all contents of all partitions. The issue is we can't guarantee the partition count, but we can guarantee that all of them together get the contents. A small change we could make: check that the partitions have the shape we expect (as this was they were just empty)

@crwilcox crwilcox merged commit b2a6171 into googleapis:master Jun 30, 2021
@crwilcox crwilcox deleted the query-list branch October 29, 2021 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the Firestore API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants