venkata91 commented on a change in pull request #34122:
URL: https://github.com/apache/spark/pull/34122#discussion_r785245638
##########
File path: core/src/main/scala/org/apache/spark/Dependency.scala
##########
@@ -144,12 +144,16 @@ class ShuffleDependency[K: ClassTag, V: ClassTag, C:
ClassTag](
_shuffleMergedFinalized = true
}
+ def shuffleMergeFinalized: Boolean = {
+ _shuffleMergedFinalized
+ }
+
/**
* Returns true if push-based shuffle is disabled for this stage or empty
RDD,
* or if the shuffle merge for this stage is finalized, i.e. the shuffle
merge
* results for all partitions are available.
*/
- def shuffleMergeFinalized: Boolean = {
+ def isShuffleMergeOutputsAvailable: Boolean = {
Review comment:
Agree, I have refactored this a bit and responded with a comment below.
Please take a look and share your thoughts.
--
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]