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

    https://github.com/apache/spark/pull/16137#discussion_r91170210
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -901,6 +926,7 @@ class SparkContext(config: SparkConf) extends Logging {
        * @param path Directory to the input data files, the path can be comma 
separated paths as the
        *             list of inputs.
        * @param minPartitions A suggestion value of the minimal splitting 
number for input data.
    +   * @return RDD containing `Tuple2` with path to the file and the 
corresponding file content
    --- End diff --
    
    Although these don't add a lot it's kind of nice to doc `@return` for 
completeness here. I might change the language in all similar docs a bit to 
something more like "return an RDD of tuples of file path and corresponding 
file content". That is there are many tuples.


---
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