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

If a subset is created that is subsumed by an existing subset, its "best" is not assigned

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Suppose that there is a subset S1 sorted on [0, 1] and we create a subset S2 in the same set that is sorted on [0]. All of the relational expressions that are in S1 will fall into S2. Therefore if S1 has a "best" relational expression, S2 should have one too.

      We were failing to do this. S2's bestCost was set correctly, but best was left null.

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/julianhyde/optiq/issues/137
      Created by: julianhyde
      Labels:
      Created at: Fri Feb 14 03:49:11 CET 2014
      State: closed

      Attachments

        Activity

          People

            Unassigned Unassigned
            github-import GitHub Import
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: