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

ToParentBlockJoin[Byte|Float]KnnVectorQuery needs to handle the case when parents are missing #12504

Merged

Conversation

benwtrent
Copy link
Member

This is a follow up to: #12434

Adds a test for when parents are missing in the index and verifies we return no hits. Previously this would have thrown an NPE

Doesn't really justify a CHANGES update as its fixing an unreleased bug due to this previous change.

Copy link
Contributor

@romseygeek romseygeek left a comment

Choose a reason for hiding this comment

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

LGTM. Returning 0 hits in these cases is what we do in ToParentBlockJoinQuery so it makes sense to me to behave consistently here.

@benwtrent benwtrent merged commit 18b56bd into apache:main Aug 14, 2023
4 checks passed
@benwtrent benwtrent deleted the bugfix/handle-missing-parents-better-knn-join branch August 14, 2023 13:24
benwtrent added a commit that referenced this pull request Aug 14, 2023
…when parents are missing (#12504)

This is a follow up to: #12434

Adds a test for when parents are missing in the index and verifies we return no hits. Previously this would have thrown an NPE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants