mridulm commented on code in PR #45266:
URL: https://github.com/apache/spark/pull/45266#discussion_r1509965196
##########
core/src/main/scala/org/apache/spark/Dependency.scala:
##########
@@ -206,6 +206,20 @@ class ShuffleDependency[K: ClassTag, V: ClassTag, C:
ClassTag](
finalizeTask = Option(task)
}
+ private val numberOfShuffleBlocks = numPartitions.toLong *
partitioner.numPartitions.toLong
Review Comment:
Please see [discussion
here](https://github.com/apache/spark/pull/45266#discussion_r1508350378) - let
us avoid introducing a new field in `ShuffleDependency`.
--
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]