You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alexander Ulanov (JIRA)" <ji...@apache.org> on 2015/07/29 15:11:05 UTC

[jira] [Created] (SPARK-9436) Merge joins in Pregel

Alexander Ulanov created SPARK-9436:
---------------------------------------

             Summary: Merge joins in Pregel 
                 Key: SPARK-9436
                 URL: https://issues.apache.org/jira/browse/SPARK-9436
             Project: Spark
          Issue Type: Improvement
          Components: GraphX
    Affects Versions: 1.4.0
            Reporter: Alexander Ulanov
            Priority: Minor
             Fix For: 1.4.0


Pregel code contains two consecutive joins: 
```
g.vertices.innerJoin(messages)(vprog)
...
g = g.outerJoinVertices(newVerts) { (vid, old, newOpt) => newOpt.getOrElse(old) }
```
They can be replaced by one join. Ankur Dave proposed a patch based on our discussion in mailing list: https://www.mail-archive.com/dev@spark.apache.org/msg10316.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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