[ 
https://issues.apache.org/jira/browse/CALCITE-7280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18036291#comment-18036291
 ] 

Dmitry Sysolyatin edited comment on CALCITE-7280 at 11/7/25 4:19 PM:
---------------------------------------------------------------------

Also if it is not interface, then it is really easy to forgot add implementation


was (Author: dmsysolyatin):
Also if it is not interface, than it is really easy to forgot add implementation

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

Reply via email to