morrySnow commented on code in PR #47993:
URL: https://github.com/apache/doris/pull/47993#discussion_r2011264446
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java:
##########
@@ -3881,10 +3881,12 @@ private Expression withPredicate(Expression
valueExpression, PredicateContext ct
}
break;
case DorisParser.LIKE:
- outExpression = new Like(
- valueExpression,
- getExpression(ctx.pattern)
- );
Review Comment:
should follow mysql behavior and restriction:
https://dev.mysql.com/doc/refman/8.4/en/string-comparison-functions.html#operator_like
--
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]