Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/14593#discussion_r74395714 --- Diff: docs/graphx-programming-guide.md --- @@ -420,24 +421,24 @@ val defaultUser = ("John Doe", "Missing") val graph = Graph(users, relationships, defaultUser) // Notice that there is a user 0 (for which we have no information) connected to users // 4 (peter) and 5 (franklin). -graph.triplets.map( - triplet => triplet.srcAttr._1 + " is the " + triplet.attr + " of " + triplet.dstAttr._1 - ).collect.foreach(println(_)) +graph.triplets.map { --- End diff -- I don't agree with these changes. A scope is not required here. It was correct as-is.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org