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

Use a more efficient algorithm for cost propagation in Volcano planner

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: