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

    https://github.com/apache/spark/pull/15815#discussion_r88271244
  
    --- Diff: core/src/main/scala/org/apache/spark/api/java/JavaRDD.scala ---
    @@ -99,6 +99,8 @@ class JavaRDD[T](val rdd: RDD[T])(implicit val classTag: 
ClassTag[T])
     
       /**
        * Return a sampled subset of this RDD.
    +   * Note: this is NOT guaranteed to provide exactly the fraction of the 
count
    --- End diff --
    
    There are a couple overloads of sample here; update them all and maybe 
apply the clarification about seed you added below?


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