Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-790

Remove relational expressions that reference themselves

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                julianhyde Julian Hyde
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: