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

Use a more efficient algorithm for cost propagation in Volcano planner

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      The previous method uses a recursive, depth-first approach, which can result
      in repeatedly updating the cost of some relSubsets many times.

      This patch moves to a breadth-first approach with a priority queue,
      very similar to Djikstra's algorithm.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                levv James Kim
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: