danny0405 commented on a change in pull request #2302:
URL: https://github.com/apache/calcite/pull/2302#discussion_r580871231
##########
File path: core/src/main/java/org/apache/calcite/sql2rel/RelDecorrelator.java
##########
@@ -429,7 +430,7 @@ protected RexNode removeCorrelationExpr(
ImmutableSortedMap.of());
}
- public @Nullable Frame decorrelateRel(Sort rel) {
+ public @Nullable Frame decorrelateRel(Sort rel, boolean isCorVarDefined) {
//
Review comment:
I have no ideas yet, keep an recursive state in the decorrelator is
really a complex work and needs careful design logic, we can merge this PR
first and refactor it later on.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]