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

Haisheng Yuan updated CALCITE-790:
----------------------------------
    Attachment: image-2019-11-06-11-21-08-004.png

> 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
>            Priority: Major
>
> 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
(v8.3.4#803005)

Reply via email to