Jackie-Jiang opened a new pull request, #12988: URL: https://github.com/apache/pinot/pull/12988
Support NOT in StarTree Index when it is followed by predicate or NOT (not with nested AND/OR) E.g. - ` WHERE NOT d1 > 10` - ` WHERE d1 > 10 AND NOT d2 < 10` - ` WHERE d1__COLUMN_NAME > 50 OR NOT d1__COLUMN_NAME > 10` - ` WHERE NOT NOT d1 > 10` - ` WHERE d2 < 95 AND (NOT d1 > 10 OR d1 > 50)` - ` WHERE d2 < 95 AND NOT d2 < 25 AND (d1 > 10 OR d1 < 50)` - ` WHERE NOT d1 = 95 AND (d1 > 90 OR d1 < 100)` In order to support NOT, dictionary based `BasePredicateEvaluator` are modified to support `getNonMatchingDictIds()`. Some refactor is done to avoid duplicate code. Bugfix: - Fix the unsorted dict ids returned from IN/NOT_IN predicate evaluator -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org