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)