Takeshi Yamamuro created SPARK-4917:
---------------------------------------
Summary: Add a function to convert into a graph with canonical
edges in GraphOps
Key: SPARK-4917
URL: https://issues.apache.org/jira/browse/SPARK-4917
Project: Spark
Issue Type: Improvement
Components: GraphX
Reporter: Takeshi Yamamuro
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]