mihaibudiu commented on code in PR #4817:
URL: https://github.com/apache/calcite/pull/4817#discussion_r2875104679


##########
core/src/main/java/org/apache/calcite/sql/fun/SqlBetweenOperator.java:
##########
@@ -177,7 +177,9 @@ private static SqlBetweenOperator of(boolean negated, 
boolean symmetric) {
         writer.startList(FRAME_TYPE, "", "");
     call.operand(VALUE_OPERAND).unparse(writer, getLeftPrec(), 0);
     writer.sep(super.getName());
-    writer.sep(flag.name());
+    if (writer.getDialect().supportsSQL99Between()) {

Review Comment:
   There were some comments on the issue about `SYMMETRIC`  that needs to 
output an OR of two BETWEEN conditions. Where does this happen?



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

Reply via email to