You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/07/08 02:29:04 UTC

[jira] [Created] (CALCITE-790) Remove relational expressions that reference themselves

Julian Hyde created CALCITE-790:
-----------------------------------

             Summary: Remove relational expressions that reference themselves
                 Key: CALCITE-790
                 URL: https://issues.apache.org/jira/browse/CALCITE-790
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


Sometimes when two equivalence sets are merged (i.e. discovered to be equivalent) relational expressions in the sets end up referencing themselves. These are impossible to implement, cause a lot of useless rules to fire, and may cause stats calculations to go into a loop.

We should look for cyclic expressions after merging sets and remove them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)