LuciferYang commented on a change in pull request #32232:
URL: https://github.com/apache/spark/pull/32232#discussion_r615668834
##########
File path:
core/src/main/scala/org/apache/spark/util/collection/WritablePartitionedPairCollection.scala
##########
@@ -94,3 +83,20 @@ private[spark] trait WritablePartitionedIterator {
def nextPartition(): Int
}
+
+/**
+ * Default implementation of `WritablePartitionedIterator`.
+ */
+private[spark] class DefaultWritablePartitionedIterator[K, V](it:
Iterator[((Int, K), V)])
Review comment:
Is there any suggestion for a better class name?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]