You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by srowen <gi...@git.apache.org> on 2015/10/01 01:11:49 UTC

[GitHub] spark pull request: [SPARK-10886] [Documentation] Random RDD creat...

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

    https://github.com/apache/spark/pull/8951#discussion_r40864280
  
    --- Diff: docs/mllib-statistics.md ---
    @@ -521,7 +521,7 @@ val sc: SparkContext = ...
     
     // Generate a random double RDD that contains 1 million i.i.d. values drawn from the
     // standard normal distribution `N(0, 1)`, evenly distributed in 10 partitions.
    -val u = normalRDD(sc, 1000000L, 10)
    +val u = RandomRDDs.normalRDD(sc, 1000000L, 10)
    --- End diff --
    
    The symbol is already imported though; it works without the class name. The example should work.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org