Haisheng Yuan created CALCITE-3819:
--------------------------------------
Summary: 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
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)