Github user chetkhatri commented on a diff in the pull request:
https://github.com/apache/spark/pull/20070#discussion_r158974779
--- Diff:
examples/src/main/scala/org/apache/spark/examples/graphx/Analytics.scala ---
@@ -145,9 +145,9 @@ object Analytics extends Logging {
// TriangleCount requires the graph to be partitioned
.partitionBy(partitionStrategy.getOrElse(RandomVertexCut)).cache()
val triangles = TriangleCount.run(graph)
- println("Triangles: " + triangles.vertices.map {
+ println(s"Triangles: ${triangles.vertices.map {
--- End diff --
sure
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]