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

    https://github.com/apache/spark/pull/4002#discussion_r22933020
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -520,10 +520,12 @@ class SparkContext(config: SparkConf) extends Logging 
with ExecutorAllocationCli
     
       /** Distribute a local Scala collection to form an RDD.
        *
    -   * @note Parallelize acts lazily. If `seq` is a mutable collection and is
    -   * altered after the call to parallelize and before the first action on 
the
    -   * RDD, the resultant RDD will reflect the modified collection. Pass a 
copy of
    -   * the argument to avoid this.
    +   * @note Parallelize acts lazily. If `seq` is a mutable collection and 
is altered after the call
    +   * to parallelize and before the first action on the RDD, the resultant 
RDD will reflect the
    +   * modified collection. Pass a copy of the argument to avoid this.
    +   *
    +   * @note When splitting Range, the sub Range is exclusive. However the 
last slice for inclusive
    --- End diff --
    
    Thanks for your comment. I will update the docs if we decide to add them.


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