vvivekiyer commented on code in PR #8518: URL: https://github.com/apache/pinot/pull/8518#discussion_r863005499
########## pinot-common/src/main/java/org/apache/pinot/pql/parsers/pql2/ast/FilterKind.java: ########## @@ -19,33 +19,41 @@ package org.apache.pinot.pql.parsers.pql2.ast; public enum FilterKind { - AND, - OR, - NOT, - EQUALS, - NOT_EQUALS, - GREATER_THAN, - GREATER_THAN_OR_EQUAL, - LESS_THAN, - LESS_THAN_OR_EQUAL, - LIKE, - BETWEEN, - RANGE, - IN, - NOT_IN, - REGEXP_LIKE, - IS_NULL, - IS_NOT_NULL, - TEXT_MATCH, - JSON_MATCH; + AND(false, false), Review Comment: Yes, we use FilterKind in PredicateComparisonRewriter. It's used to determine we need to convert to EQUALS expression. For example: `WHERE col1 and col2` should be converted `WHERE col1 BETWEEN 10 AND 20` should not be converted. -- 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