-
Notifications
You must be signed in to change notification settings - Fork 285
to hotfix: fix block filter #23239
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
to hotfix: fix block filter #23239
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue ##13959
What this PR does / why we need it:
fix block filter EQ, IN, ...
PR Type
Bug fix
Description
Fix block filter search functions to correctly handle duplicate values
Add early return checks for empty input vectors or value sets
Refactor binary search logic to find all matching occurrences, not just first
Improve handling of consecutive duplicate values in search results
Diagram Walkthrough
File Walkthrough
search.go
Fix duplicate value handling in block filter searchespkg/container/vector/search.go
OrderedBinarySearchOffsetByValFactory,VarlenBinarySearchOffsetByValFactory, andFixedSizedBinarySearchOffsetByValFactorymatches instead of just first occurrence
each search value
position ranges
search_test.go
Add comprehensive tests for search functionspkg/container/vector/search_test.go
value set
values