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

Add support in the BooleanLogicIterator for range queries with ANDs and ORs #305

Open
cjnolet opened this issue Feb 21, 2015 · 0 comments
Open
Milestone

Comments

@cjnolet
Copy link
Member

cjnolet commented Feb 21, 2015

This is something that it appears had been supported at one time by the BooleanLogicIterator and now doesn't return the proper results.

The OR iterator sorts predicates by their lexicographic key sorting order so that it can do a "merge" of keys together (return the first match and skip the rest). the AndIterator cannot work across ranges because of the sorting of column families with respect to the qualifiers but it looks like the AND logic could be performed with multiple ranges by passing them as ANDs in ORiterator trees.

If this were fixed, it would certainly provide more robust push-down query logic and allow less filtering to have to occur as events are passing through the iterator stack (would allow seeks instead of filters).

@cjnolet cjnolet added this to the 2.2.0 milestone Feb 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant