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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]