mihaibudiu commented on code in PR #4402:
URL: https://github.com/apache/calcite/pull/4402#discussion_r2112415612
##########
core/src/main/java/org/apache/calcite/rex/RexUtil.java:
##########
@@ -218,6 +218,17 @@ public static boolean isNull(RexNode expr) {
}
}
+ public static boolean isCollectionValueConstructorWithoutAnyCast(
Review Comment:
this can probably be generalized into a function that checks that the entire
expression tree has no side-effects. In SQL the only side-effect possible is to
cause an exception.
--
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]