You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2015/04/29 21:19:06 UTC

[jira] [Created] (SPARK-7246) Rank for DataFrames

Xiangrui Meng created SPARK-7246:
------------------------------------

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