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

Dmitry Sysolyatin commented on CALCITE-7280:
--------------------------------------------

Thanks for pointing me to the discussion. I think I understand what you meant, 
and it’s probably the right approach. I’ll think more about it. Thanks

> 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