mihaibudiu commented on code in PR #4403:
URL: https://github.com/apache/calcite/pull/4403#discussion_r2113004004
##########
core/src/main/java/org/apache/calcite/sql/SqlKind.java:
##########
@@ -662,6 +662,9 @@ public enum SqlKind {
/** {@code IS NOT NULL} operator. */
IS_NOT_NULL,
+ /** {@code CAST NOT NULL} operator. */
+ CAST_NOT_NULL,
Review Comment:
Since we reopened that issue, maybe you can make this PR about that issue
instead of a new one.
You should check that it works with NULLIF too. It has the same problem.
I still think that expanding COALESCE at that stage is wrong, so this is
solving only half of the problem.
--
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]