xzj7019 commented on code in PR #37616:
URL: https://github.com/apache/doris/pull/37616#discussion_r1674823220


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnFE.java:
##########
@@ -405,6 +405,11 @@ public Expression visitOr(Or or, ExpressionRewriteContext 
context) {
 
     @Override
     public Expression visitLike(Like like, ExpressionRewriteContext context) {

Review Comment:
   on 2.0, i think it's more important to investigate why c1 like '%xxx%' can't 
infer out c1 is not null by foldOnBe, than support like folding on fe.



-- 
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

Reply via email to