Fix join error by caching vTable in mapReduceTriplets
This commit is contained in:
parent
10c0f9b0bb
commit
dee1318d3d
|
@ -258,6 +258,9 @@ class GraphImpl[VD: ClassManifest, ED: ClassManifest] protected (
|
|||
}
|
||||
}
|
||||
|
||||
// Permit joining the result of mapReduceTriplets back with vTable
|
||||
vTable.cache()
|
||||
|
||||
// do the final reduction reusing the index map
|
||||
vTable.aggregateUsingIndex(preAgg, reduceFunc)
|
||||
} // end of mapReduceTriplets
|
||||
|
|
Loading…
Reference in a new issue