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


##########
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:
   If the conversion was done in the convertlet table, you will never see this 
operator in your conversion, so there is nothing to do. You are handling the 
case when the conversion was not made.



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