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

Reynold Xin commented on SPARK-7246:
------------------------------------

This is done now with window functions right?


> Rank for DataFrames
> -------------------
>
>                 Key: SPARK-7246
>                 URL: https://issues.apache.org/jira/browse/SPARK-7246
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Xiangrui Meng
>
> `rank` maps a numeric column to a long column with rankings. `rank` should be 
> an expression. Where it lives is TBD. One suggestion is `funcs.stat`.
> {code}
> df.select("name", rank("time"))
> {code}



--
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