xiedeyantu commented on code in PR #4652:
URL: https://github.com/apache/calcite/pull/4652#discussion_r2566707426
##########
core/src/main/java/org/apache/calcite/rel/RelNode.java:
##########
@@ -175,6 +177,18 @@ public interface RelNode extends RelOptNode, Cloneable {
*/
void collectVariablesSet(Set<CorrelationId> variableSet);
+ /** Returns a list (one element per input) of {@link ImmutableBitSet}s
+ * listing ordinals of input fields used by this node; the default
+ * implementation returns empty sets. */
+ default List<ImmutableBitSet> getInputFieldsUsed() {
Review Comment:
This draft was indeed not well-considered, and your comments are very useful
to me. I will likely need to refactor this draft, and I will also address the
questions Julian raised in Jira. Apologies, I'll mark it as not ready next time
to save your review time.
--
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]