[
https://issues.apache.org/jira/browse/CALCITE-7280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18036311#comment-18036311
]
Stamatis Zampetakis commented on CALCITE-7280:
----------------------------------------------
What I meant to say is that there is a tendency to not use the copy method when
you want to create a new RelNode but rather rely on the RelBuilder. I can't
cite every reference but similar discussion came up in
CALCITE-7059.
> Introduce RelNode.copy, which can copy the variable set
> -------------------------------------------------------
>
> Key: CALCITE-7280
> URL: https://issues.apache.org/jira/browse/CALCITE-7280
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.41.0
> Reporter: Dmitry Sysolyatin
> Assignee: Dmitry Sysolyatin
> Priority: Major
> Labels: pull-request-available
>
> Right now, the `RelNode` interface knows about variablesSet through
> getVariablesSet, but there isn’t a copy that can replace this variablesSet.
> Proposal to introduce:
> {code}
> RelNode copy(
> RelTraitSet traitSet,
> List<RelNode> inputs,
> Set<CorrelationId> variablesSet
> );
> {code}
> It is a prerequisite for [CALCITE-5390].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)