LeonidChistov commented on code in PR #3143:
URL: https://github.com/apache/calcite/pull/3143#discussion_r1168382446
##########
core/src/main/java/org/apache/calcite/rex/RexSimplify.java:
##########
@@ -2599,6 +2602,22 @@ default boolean allowedInOr(RelOptPredicateList
predicates) {
}
}
+ /**
+ * Visitor which finds all inputs used by an expressions.
+ */
+ private static class VariableCollector extends RexVisitorImpl<Void> {
+ private final Set<RexInputRef> refs = new LinkedHashSet<>();
Review Comment:
Agree, fixed.
--
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]