Details
-
Bug
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
CALCITE-1048 Make metadata more robust
- Open
-
CALCITE-794 Detect cycles when computing statistics
- Closed