zzwqqq commented on code in PR #5385:
URL: https://github.com/apache/calcite/pull/5385#discussion_r4534605431


##########
core/src/main/java/org/apache/calcite/sql2rel/RelDecorrelator.java:
##########
@@ -288,6 +288,18 @@ public static RelNode decorrelateQuery(RelNode rootRel,
     return newRootRel;
   }
 
+  /** Trims the right input, preserving its output fields and the left input.
+   * Submits an equivalent Correlate if the plan changes and the trimmed right

Review Comment:
   Thanks. It goes to the rule's planner via `RelOptRuleCall.transformTo`. I've 
added that to the Javadoc.



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