[ 
https://issues.apache.org/jira/browse/SPARK-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14706877#comment-14706877
 ] 

JJ Zhang commented on SPARK-1153:
---------------------------------

We would also really like a general customized ID available for Vertex. We've 
been using zipwithIndex to create IDs for  now, however, it is a hassle 
process-wise because we never have a stable ID:  any update to a new version of 
Graph with incremental input data requires a total rebuild of vertex/edges, or 
we will need another infrastructure to serve as an ID service: additional 
cost/maintenance. We already have unique IDs for all of our data entities. It 
would make processing/maintenance much easier if our stable IDs can be used 
directly

> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to