[
https://issues.apache.org/jira/browse/SPARK-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15214951#comment-15214951
]
Reynold Xin commented on SPARK-1153:
------------------------------------
The main thing is that we encode the data assuming integer ids, and are using
specialized data structure for int ids. If we change to generic types, the
memory footprint will increase, and the performance will decrease too.
> 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]