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

[Backport] fix issue with OR filter vector value matcher for proper 3VL behavior when inverted #17656

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

clintropolis
Copy link
Member

Backport of #17655 to 32.0.0.

… when inverted (apache#17655)


Fixes a bug with the OR filters vectorized value matcher that causes vector engines processing filter an OR filter under a NOT filter (ex. of the form NOT(x OR y)) to produce incorrect results for null values matched.

This bug is due to incorrectly hard coding the includeUnknown parameter as false for OR filter child vector matchers after the initial filter clause instead of passing it through the function parameter to the underlying matchers.
@adarshsanjeev adarshsanjeev added this to the 32.0.0 milestone Jan 23, 2025
@clintropolis clintropolis merged commit 3da3ff0 into apache:32.0.0 Jan 23, 2025
73 checks passed
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