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

Use better CBO cost function

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.0.3, 3.1.2, 3.2.0
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: