Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-37063 SQL Adaptive Query Execution QA: Phase 2
  3. SPARK-33832

Add an option in AQE to mitigate skew even if it causes an new shuffle

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.3.0
    • SQL

    Description

      Currently OptimizeSkewedJoin will not apply if skew mitigation causes a new shuffle.
      There are situations where it's better to mitigate skew even if it means a new shuffle is added, for example if the join outputs small amount of data.

      As a first step I propose adding a SQLConf option to enable this.

      I'll open a PR shortly to get feedback on the approach.

      Attachments

        Issue Links

          Activity

            People

              ulysses XiDuo You
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: