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

    https://github.com/apache/spark/pull/2523#discussion_r18545622
  
    --- Diff: docs/graphx-programming-guide.md ---
    @@ -620,7 +620,7 @@ more senior followers of each user.
     import org.apache.spark.graphx.util.GraphGenerators
     // Create a graph with "age" as the vertex property.  Here we use a random 
graph for simplicity.
     val graph: Graph[Double, Int] =
    -  GraphGenerators.logNormalGraph(sc, numVertices = 100).mapVertices( (id, 
_) => id.toDouble )
    +  GraphGenerators.logNormalGraph(sc, numVertices = 
100,sc.defaultParallelism).mapVertices( (id, _) => id.toDouble )
    --- End diff --
    
    +1, also no space before `)`, and I would just put `.mapVertices` on the 
next line


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