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

Set NumPartitions of RepartitionByExpression In Analyzer

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment