diff options
author | Alexander Ulanov <nashb@yandex.ru> | 2015-07-29 13:59:00 -0700 |
---|---|---|
committer | Ankur Dave <ankurdave@gmail.com> | 2015-07-29 13:59:00 -0700 |
commit | b715933fc69a49653abdb2fba0818dfc4f35d358 (patch) | |
tree | 91ef137dad1860050c9dfb50135da41b488814ec /unsafe | |
parent | 5340dfaf94a3c54199f8cc3c78e11f61e34d0a67 (diff) | |
download | spark-b715933fc69a49653abdb2fba0818dfc4f35d358.tar.gz spark-b715933fc69a49653abdb2fba0818dfc4f35d358.tar.bz2 spark-b715933fc69a49653abdb2fba0818dfc4f35d358.zip |
[SPARK-9436] [GRAPHX] Pregel simplification patch
Pregel code contains two consecutive joins:
```
g.vertices.innerJoin(messages)(vprog)
...
g = g.outerJoinVertices(newVerts)
{ (vid, old, newOpt) => newOpt.getOrElse(old) }
```
This can be simplified with one join. ankurdave proposed a patch based on our discussion in the mailing list: https://www.mail-archive.com/devspark.apache.org/msg10316.html
Author: Alexander Ulanov <nashb@yandex.ru>
Closes #7749 from avulanov/SPARK-9436-pregel and squashes the following commits:
8568e06 [Alexander Ulanov] Pregel simplification patch
Diffstat (limited to 'unsafe')
0 files changed, 0 insertions, 0 deletions