GitHub user maropu opened a pull request: https://github.com/apache/spark/pull/3760
[SPARK-4917] Add a function to convert into a graph with canonical edges in GraphOps Convert bi-directional edges into uni-directional ones instead of 'canonicalOrientation' in GraphLoader.edgeListFile. This function is useful when a graph is loaded as it is and then is transformed into one with canonical edges. It rewrites the vertex ids of edges so that srcIds are bigger than dstIds, and merges the duplicated edges. You can merge this pull request into a Git repository by running: $ git pull https://github.com/maropu/spark ConvertToCanonicalEdgesSpike Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/3760.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3760 ---- commit 7f8b58092b483f52d3f545387fdf015471fdde01 Author: Takeshi Yamamuro <linguin....@gmail.com> Date: 2014-12-22T07:19:52Z Add a function to convert into a graph with canonical edges in GraphOps ---- --- 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