You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by "mihaibudiu (via GitHub)" <gi...@apache.org> on 2026/03/02 22:56:06 UTC
Re: [PR] [CALCITE-4471] Support ignoring `SYMMETRIC/ASYMMETRIC` flag for between unparse [calcite]
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: commits-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org