spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject spark git commit: Fixed error in scaladoc of convertToCanonicalEdges
Date Thu, 12 Nov 2015 20:14:39 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.3 b90e5cba2 -> 1bfa00d54


Fixed error in scaladoc of convertToCanonicalEdges

The code convertToCanonicalEdges is such that srcIds are smaller than dstIds but the scaladoc
suggested otherwise. Have fixed the same.

Author: Gaurav Kumar <gauravkumar37@gmail.com>

Closes #9666 from gauravkumar37/patch-1.

(cherry picked from commit df0e318152165c8e50793aff13aaca5d2d9b8b9d)
Signed-off-by: Reynold Xin <rxin@databricks.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/1bfa00d5
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/1bfa00d5
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/1bfa00d5

Branch: refs/heads/branch-1.3
Commit: 1bfa00d54e502ad14e70e4dcc488682e32625f7e
Parents: b90e5cb
Author: Gaurav Kumar <gauravkumar37@gmail.com>
Authored: Thu Nov 12 12:14:00 2015 -0800
Committer: Reynold Xin <rxin@databricks.com>
Committed: Thu Nov 12 12:14:35 2015 -0800

----------------------------------------------------------------------
 graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/1bfa00d5/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala
----------------------------------------------------------------------
diff --git a/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala b/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala
index dc8b478..f83d214 100644
--- a/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala
+++ b/graphx/src/main/scala/org/apache/spark/graphx/GraphOps.scala
@@ -282,7 +282,7 @@ class GraphOps[VD: ClassTag, ED: ClassTag](graph: Graph[VD, ED]) extends
Seriali
    * Convert bi-directional edges into uni-directional ones.
    * Some graph algorithms (e.g., TriangleCount) assume that an input graph
    * has its edges in canonical direction.
-   * This function rewrites the vertex ids of edges so that srcIds are bigger
+   * This function rewrites the vertex ids of edges so that srcIds are smaller
    * than dstIds, and merges the duplicated edges.
    *
    * @param mergeFunc the user defined reduce function which should


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


Mime
View raw message