yashlimbad commented on code in PR #4840:
URL: https://github.com/apache/calcite/pull/4840#discussion_r3043576241


##########
core/src/main/java/org/apache/calcite/plan/RelOptUtil.java:
##########
@@ -4752,6 +4759,17 @@ public ImmutableBitSet build() {
       }
       return super.visitCall(call);
     }
+
+    @Override public Void visitSubQuery(RexSubQuery subQuery) {

Review Comment:
   @silundong I took a closer look at your query — appreciate the effort on 
this! One thing I noticed: when we fire `RelOptUtil.getVariablesUsed(join)`, 
we're getting `$cor1` back not both, which suggests the correlation is still 
tied to the join. Infact, `FilterJoinRule` won't actually fire here. Could you 
double-check the sources you referenced? Happy to walk through it together if 
that helps.



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