Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16137#discussion_r92132133
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -1973,7 +2067,12 @@ class SparkContext(config: SparkConf) extends 
Logging {
       }
     
       /**
    -   * Run a job on all partitions in an RDD and pass the results to a 
handler function.
    +   * 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`.
    --- End diff --
    
    I think this one should change too -- instead of talking about the types 
(which are already in the signature) refer to the salient difference here, that 
this one doesn't take a function that takes a TaskContext.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to