vlsi commented on a change in pull request #2124:
URL: https://github.com/apache/calcite/pull/2124#discussion_r480293476



##########
File path: 
core/src/test/java/org/apache/calcite/rel/rules/DateRangeRulesTest.java
##########
@@ -88,8 +88,7 @@
         "UTC",
         is("AND(AND(>=($8, 2014-01-01), <($8, 2015-01-01)),"
             + " AND(>=($8, 2014-06-01), <($8, 2014-07-01)))"),
-        is("AND(>=($8, 2014-01-01), <($8, 2015-01-01),"
-            + " >=($8, 2014-06-01), <($8, 2014-07-01))"));
+        is("SEARCH($8, Sarg[[2014-06-01\u20252014-07-01)])"));
   }

Review comment:
       >The simplest thing is to revert to ascii and use \u escapes
   
   I would strongly disagree. The simplest thing (solution or workaround) is to 
wrap the line a bit earlier, so it is readable by humans.
   
   `\u` escapes are not really readable, and it makes the code much harder to 
review and maintain.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to