You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/10/02 03:32:27 UTC

[jira] [Commented] (SPARK-7135) Expression for monotonically increasing IDs

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

Reynold Xin commented on SPARK-7135:
------------------------------------

Can you explain your use case a bit more?


> Expression for monotonically increasing IDs
> -------------------------------------------
>
>                 Key: SPARK-7135
>                 URL: https://issues.apache.org/jira/browse/SPARK-7135
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>              Labels: dataframe
>             Fix For: 1.4.0
>
>
> Seems like a common use case that users might want a unique ID for each row. It is more expensive to have consecutive IDs, since that'd require two pass over the data. However, many use cases can be satisfied by just having unique ids.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org