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

Apache Spark commented on SPARK-5605:
-------------------------------------

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

> Allow using String to specify colum name in DSL aggregate functions
> -------------------------------------------------------------------
>
>                 Key: SPARK-5605
>                 URL: https://issues.apache.org/jira/browse/SPARK-5605
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>
> Since it is unlikely users need to call aggregate functions on a literal 
> string, we might as well simplify the dsl to also support calling aggregate 
> functions on a column by name.
> e.g.
> sum("colName")
> instead of
> sum($"colName")  or   sum(col("colName")) 



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