[ 
https://issues.apache.org/jira/browse/SPARK-39915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-39915.
-----------------------------------
    Fix Version/s: 3.4.0
                   3.3.1
         Assignee: XiDuo You
       Resolution: Fixed

This is resolved via

- https://github.com/apache/spark/pull/37706

- https://github.com/apache/spark/pull/37730

> Dataset.repartition(N) may not create N partitions
> --------------------------------------------------
>
>                 Key: SPARK-39915
>                 URL: https://issues.apache.org/jira/browse/SPARK-39915
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Shixiong Zhu
>            Assignee: XiDuo You
>            Priority: Major
>             Fix For: 3.4.0, 3.3.1
>
>
> Looks like there is a behavior change in Dataset.repartition in 3.3.0. For 
> example, `spark.range(10, 0).repartition(5).rdd.getNumPartitions` returns 5 
> in Spark 3.2.0, but 0 in Spark 3.3.0.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to