NobiGo commented on code in PR #4214:
URL: https://github.com/apache/calcite/pull/4214#discussion_r2021953640


##########
core/src/main/java/org/apache/calcite/sql/SqlDialect.java:
##########
@@ -795,6 +795,14 @@ public boolean supportBooleanCaseWhen() {
     return true;
   }
 
+  /**
+   * Returns whether to enable unparse of "macro-like" calls such as IS TRUE.
+   * "A IS TRUE" can be unparse to "A IS NOT NULL AND A" When A is 
deterministic.
+   * Otherwise, inconsistent results may occur. */
+  public boolean supportMacroLikeUnparse() {

Review Comment:
   This has not been fixed. It would be more accurate to say that it is a kind 
of compatible approach, which refers to SqlValidator#withCallRewrite.



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