Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-4917

Add a function to convert into a graph with canonical edges in GraphOps

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: GraphX
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maropu Takeshi Yamamuro
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: