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

Set NumPartitions of RepartitionByExpression In Analyzer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • SQL
    • None

    Description

      Currently, if NumPartitions is not set, we will set it using `spark.sql.shuffle.partitions` in Planner. However, this is not following general resolution process. We should do it in Analyzer and then Optimizer can use the value for optimization.

      Attachments

        Activity

          People

            smilegator Xiao Li
            smilegator Xiao Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: