wangshuo128 commented on a change in pull request #7357: URL: https://github.com/apache/incubator-doris/pull/7357#discussion_r775042959
########## File path: fe/fe-core/src/main/java/org/apache/doris/rewrite/ExprRewriter.java ########## @@ -46,6 +46,15 @@ public class ExprRewriter { private int numChanges_ = 0; private final List<ExprRewriteRule> rules_; + + // The type of clause that executes the rule. + // This type is only used in InferFiltersRule, other rules are not used + public enum ClauseType { + ONCLAUSE, Review comment: ```suggestion ON_CLAUSE, ``` -- 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...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org