You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Haisheng Yuan (Jira)" <ji...@apache.org> on 2020/02/25 07:11:00 UTC

[jira] [Assigned] (CALCITE-3819) Prune parent RelNode when merging child RelSet with parent RelSet

     [ https://issues.apache.org/jira/browse/CALCITE-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haisheng Yuan reassigned CALCITE-3819:
--------------------------------------

    Assignee: Haisheng Yuan

> Prune parent RelNode when merging child RelSet with parent RelSet
> -----------------------------------------------------------------
>
>                 Key: CALCITE-3819
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3819
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Haisheng Yuan
>            Assignee: Haisheng Yuan
>            Priority: Major
>
> Suppose we have 2 RelSets:
> RelSet A: rel1
> RelSet B: rel2
> rel1 is the parent of rel2.
> If there is a transformation rule that transform rel1 to rel2, we will merge RelSet A and B. During merge process, we can safely prune rel1 to avoid further rule apply on rel1 and reduce search space, more importantly, avoid cyclic reference.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)