Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-34922

Use better CBO cost function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.0.3, 3.1.2, 3.2.0
    • SQL
    • None

    Description

      In SPARK-33935 we changed the CBO cost function such that it would be symetric - A.betterThan(B) implies that !B.betterThan(A). Before both could have been true.

      That change introduced a performance regression in some queries.

      Attachments

        Activity

          People

            tanelk Tanel Kiis
            tanelk Tanel Kiis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: