cloud-fan commented on a change in pull request #33172:
URL: https://github.com/apache/spark/pull/33172#discussion_r662328867
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala
##########
@@ -1813,7 +1813,7 @@ class DataFrameSuite extends QueryTest
(1 to 100).map(i => TestData2(i % 10, i))).toDF()
// Distribute and order by.
- val df4 = data.repartition($"a").sortWithinPartitions($"b".desc)
+ val df4 = data.repartition(5, $"a").sortWithinPartitions($"b".desc)
Review comment:
now partition coalescing applies here and then we are sorting one single
partition, which fails this test. Adding the partition number of skip partition
coalescing
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]