[
https://issues.apache.org/jira/browse/SPARK-5605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reynold Xin updated SPARK-5605:
-------------------------------
Summary: Allow using String to specify colum name in DSL aggregate
functions (was: Allow passing in String's directly into DSL aggregate
functions)
> 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: [email protected]
For additional commands, e-mail: [email protected]