cloud-fan commented on a change in pull request #33172: URL: https://github.com/apache/spark/pull/33172#discussion_r662102426
########## File path: sql/core/src/test/scala/org/apache/spark/sql/execution/ShufflePartitionsUtilSuite.scala ########## @@ -459,9 +466,36 @@ class ShufflePartitionsUtilSuite extends SparkFunSuite { Seq( Some(specs1), Some(specs2)), - targetSize, 1) + targetSize) assert(coalesced == Seq(expected1, expected2)) } + + { + // No actual coalescing happened, return empty result. Review comment: not related to this PR. Just found we missed testing this case when reading the code. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org