Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/16824#discussion_r99728911 --- Diff: python/pyspark/sql/dataframe.py --- @@ -553,10 +594,10 @@ def repartition(self, numPartitions, *cols): +---+-----+ |age| name| +---+-----+ - | 2|Alice| | 5| Bob| - | 2|Alice| | 5| Bob| + | 2|Alice| + | 2|Alice| --- End diff -- It seems the order is varied dependent on how we create the dataframe (as I saw the related JIRA I can point out if anyone wants). I haven't looked into this deeper as this variant seems not related to the tests in `repartition` API.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org