thomasrebele commented on code in PR #4505:
URL: https://github.com/apache/calcite/pull/4505#discussion_r2298665691


##########
core/src/main/java/org/apache/calcite/plan/Strong.java:
##########
@@ -265,6 +266,22 @@ public boolean isNull(RexNode node) {
         return anyNull(rexCall.getOperands());
       }
       return false;
+    case DIVIDE: {

Review Comment:
   If I understand Julian's comment correctly, division by 0 should throw an 
exception, so IS NULL(10/0) may not be simplified. However, IS NULL(10/1) may 
be simplified to false.



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