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

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

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

Apache Spark commented on SPARK-5799:
-------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/4592

> 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