You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Botong Huang (Jira)" <ji...@apache.org> on 2021/02/26 06:21:00 UTC

[jira] [Created] (CALCITE-4514) Prefer merge new relset into old relset when they are parent set of each other

Botong Huang created CALCITE-4514:
-------------------------------------

             Summary: Prefer merge new relset into old relset when they are parent set of each other
                 Key: CALCITE-4514
                 URL: https://issues.apache.org/jira/browse/CALCITE-4514
             Project: Calcite
          Issue Type: Improvement
            Reporter: Botong Huang


When merging two relsets, we have two preferences: 
1. Merge parent relset into child relset
2. Merge newer relset into older relset
Currently, when the two relsets are parent set of each other, we randomly pick a merge order without checking the second condition above. For performance reasons, we should, to avoid unnecessary churn. 



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