zzwqqq commented on code in PR #5385:
URL: https://github.com/apache/calcite/pull/5385#discussion_r4610917813
##########
core/src/main/java/org/apache/calcite/sql2rel/CorrelateProjectExtractor.java:
##########
@@ -208,12 +216,20 @@ private static RelNode visitCorrelationScope(RelNode
root, CorrelationId id,
});
}
- /** Selects outermost deterministic computations over one correlation.
+ /** Selects deterministic expressions for evaluation on the outer input.
+ *
+ * <p>The collector stores each selected {@link RexNode} with its offset
among
Review Comment:
Thanks. `collector` is a `CorrelatedExpressionSelector` whose `selected`
method records the expression in `expressions` and returns it unchanged. I've
documented the map's offsets beside its declaration.
--
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]