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


##########
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:
   I don't think we should expect every stage of the compiler to optimize code.
   Conversion to Rel should be done as quickly as possible, and all 
optimizations should be done on Rel form.



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