yiguolei commented on code in PR #52146:
URL: https://github.com/apache/doris/pull/52146#discussion_r2162784466
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/Like.java:
##########
@@ -28,10 +32,20 @@
* like expression: a like 'xxx%'.
*/
public class Like extends StringRegexPredicate {
+
+ private static final List<FunctionSignature> SIGNATURES = ImmutableList.of(
+
FunctionSignature.ret(BooleanType.INSTANCE).args(VarcharType.SYSTEM_DEFAULT,
VarcharType.SYSTEM_DEFAULT),
Review Comment:
这里得保证escape 里的字符是 ASCII 字符,并且长度为1
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/Like.java:
##########
@@ -28,10 +32,20 @@
* like expression: a like 'xxx%'.
*/
public class Like extends StringRegexPredicate {
+
+ private static final List<FunctionSignature> SIGNATURES = ImmutableList.of(
+
FunctionSignature.ret(BooleanType.INSTANCE).args(VarcharType.SYSTEM_DEFAULT,
VarcharType.SYSTEM_DEFAULT),
Review Comment:
这里得保证escape 里的字符是 ASCII 字符,并且长度为1;否则应该提示报错信息。
--
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]