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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to