rekbun commented on code in PR #60256:
URL: https://github.com/apache/spark/pull/60256#discussion_r4615924533
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/GroupPartitionsExec.scala:
##########
@@ -863,35 +865,66 @@ private[sql] object GroupPartitionsExec {
*
* Unlike Spark's default coalescer which tries to minimize data movement,
this coalescer
* groups partitions based on their partition keys to maintain the grouping
semantics
- * required for storage-partitioned operations.
+ * required for storage-partitioned operations. A group names a location only
when it has several
+ * partitions, shares none of them with another group, is not over persisted
data, and more of its
+ * partitions prefer one host than any other host. Every other group leaves
its location to the
+ * scheduler.
Review Comment:
done in e0827432591.
--
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]