Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/16137#discussion_r92600521 --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala --- @@ -2067,8 +2067,8 @@ class SparkContext(config: SparkConf) extends Logging { } /** - * Run a job on all partitions in an RDD and pass the results to a handler function, but take - * a function of type `Iterator[T] => U` instead of `(TaskContext, Iterator[T]) => U`. + * Run a job on all partitions in an RDD and pass the results to a handler function, this time the --- End diff -- Sure, sounds more natural to me. Instead of "should", say "... each partition additionally takes ..." because it's not optional.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org