xuzifu666 commented on code in PR #4460:
URL: https://github.com/apache/calcite/pull/4460#discussion_r2190536483


##########
core/src/main/java/org/apache/calcite/rex/RexSimplify.java:
##########
@@ -511,6 +512,15 @@ private RexNode simplifyLike(RexCall e, RexUnknownAs 
unknownAs) {
     return simplifyGenericNode(e);
   }
 
+  private boolean withSameChar(String str, Character c) {
+    for (Character character : str.toCharArray()) {

Review Comment:
   Thanks for reminder,here should use regex better,it's my mistake.



##########
core/src/main/java/org/apache/calcite/rex/RexSimplify.java:
##########
@@ -511,6 +512,15 @@ private RexNode simplifyLike(RexCall e, RexUnknownAs 
unknownAs) {
     return simplifyGenericNode(e);
   }
 
+  private boolean withSameChar(String str, Character c) {
+    for (Character character : str.toCharArray()) {

Review Comment:
   Thanks for reminder,here should use regex better,it's my mistake. 
@julianhyde 



-- 
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...@calcite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to