[
https://issues.apache.org/jira/browse/SPARK-4086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362203#comment-14362203
]
Ankur Dave commented on SPARK-4086:
-----------------------------------
Thanks! Yeah, I was thinking about adding a new version of each method. For
naming scheme, personally I like "fooWithFold", e.g.
{{VertexRDD.createWithFold}}, {{innerJoinWithFold}}.
I've unassigned myself so you can take it if you like.
> Fold-style aggregation for VertexRDD
> ------------------------------------
>
> Key: SPARK-4086
> URL: https://issues.apache.org/jira/browse/SPARK-4086
> Project: Spark
> Issue Type: Improvement
> Components: GraphX
> Reporter: Ankur Dave
>
> VertexRDD currently supports creations and joins only through a reduce-style
> interface where the user specifies how to merge two conflicting values. We
> should also support a fold-style interface that takes a default value
> (possibly of a different type than the input collection) and a fold function
> specifying how to accumulate values.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]