NobiGo commented on code in PR #4691:
URL: https://github.com/apache/calcite/pull/4691#discussion_r2629210691
##########
core/src/main/java/org/apache/calcite/rex/RexUtil.java:
##########
@@ -3191,6 +3192,19 @@ public static List<RexSubQuery> collect(Project project)
{
}
return subQueryCollector.subQueries;
}
+
+ public static List<RexSubQuery> collect(Filter filter) {
Review Comment:
Yes, it can indeed be converted into a RexNode here, but since Project is a
List, the invocation could become complicated. Moreover, to maintain
compatibility with the existing logic, I chose to extend this method instead.
--
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]