Skip to content

Commit 3b4f35f

Browse files
WeichenXu123dongjoon-hyun
authored andcommitted
[DOC][MINOR] Fix minor error in the code of graphx guide
## What changes were proposed in this pull request? Fix minor error in the code "sketch of pregel implementation" of GraphX guide. This fixed error relates to `[SPARK-12995][GraphX] Remove deprecate APIs from Pregel` ## How was this patch tested? N/A Closes #22780 from WeichenXu123/minor_doc_update1. Authored-by: WeichenXu <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent fc9ba9d commit 3b4f35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/graphx-programming-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ class GraphOps[VD, ED] {
726726
var g = mapVertices( (vid, vdata) => vprog(vid, vdata, initialMsg) ).cache()
727727

728728
// compute the messages
729-
var messages = g.mapReduceTriplets(sendMsg, mergeMsg)
729+
var messages = GraphXUtils.mapReduceTriplets(g, sendMsg, mergeMsg)
730730
var activeMessages = messages.count()
731731
// Loop until no messages remain or maxIterations is achieved
732732
var i = 0

0 commit comments

Comments
 (0)