[
https://issues.apache.org/jira/browse/SPARK-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14505071#comment-14505071
]
Carlos Balduz commented on SPARK-1153:
--------------------------------------
I am currently using zipWithUniqueId() to get a VertexID for my data, but that
means that after getting the VertexIDs, I have to go to the edges data to look
for each of those strings and assign the Id I got from the previous step.
I agree it would be nice to be able to choose a different tipe of ID, leaving
the user to decide whether he prefers performance or usability.
> Generalize VertexId in GraphX so that UUIDs can be used as vertex IDs.
> ----------------------------------------------------------------------
>
> Key: SPARK-1153
> URL: https://issues.apache.org/jira/browse/SPARK-1153
> Project: Spark
> Issue Type: Improvement
> Components: GraphX
> Affects Versions: 0.9.0
> Reporter: Deepak Nulu
>
> Currently, {{VertexId}} is a type-synonym for {{Long}}. I would like to be
> able to use {{UUID}} as the vertex ID type because the data I want to process
> with GraphX uses that type for its primay-keys. Others might have a different
> type for their primary-keys. Generalizing {{VertexId}} (with a type class)
> will help in such cases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]