You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Liang-Chi Hsieh (JIRA)" <ji...@apache.org> on 2015/02/13 17:20:12 UTC

[jira] [Created] (SPARK-5799) Compute aggregation function on specified numeric columns

Liang-Chi Hsieh created SPARK-5799:
--------------------------------------

             Summary: Compute aggregation function on specified numeric columns
                 Key: SPARK-5799
                 URL: https://issues.apache.org/jira/browse/SPARK-5799
             Project: Spark
          Issue Type: Improvement
          Components: SQL
            Reporter: Liang-Chi Hsieh
            Priority: Minor


Compute aggregation function on specified numeric columns. For example:

val df = Seq(("a", 1, 0, "b"), ("b", 2, 4, "c"), ("a", 2, 3, "d")).toDataFrame("key", "value1", "value2", "rest")

df.groupBy("key").min("value2")






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