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

Reply via email to