[ 
https://issues.apache.org/jira/browse/SPARK-22741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruben Janssen updated SPARK-22741:
----------------------------------
    Description: 
A global aggregate for typed aggregation is currently missing. When an 
aggregation on a dataset is currently called, it is a relational aggregation 
which actually calls groupBy().agg, so the returned type is Row instead of 
Scala objects.

This is blocking other features such as SPARK-20890, because we want to be able 
to return Option for min/max functions.

  was:
A global aggregate for typed aggregation is currently missing. When an 
aggregation on a dataset is currently called, it is a relational aggregation 
which actually calls groupBy().agg, so the returned type is Row instead of 
Scala objects.

This is blocking other features such as SPARK-20890, because we want to be able 
to return Options for min/max functions.


> Add global aggregate for typed aggregation
> ------------------------------------------
>
>                 Key: SPARK-22741
>                 URL: https://issues.apache.org/jira/browse/SPARK-22741
>             Project: Spark
>          Issue Type: New Feature
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: Ruben Janssen
>
> A global aggregate for typed aggregation is currently missing. When an 
> aggregation on a dataset is currently called, it is a relational aggregation 
> which actually calls groupBy().agg, so the returned type is Row instead of 
> Scala objects.
> This is blocking other features such as SPARK-20890, because we want to be 
> able to return Option for min/max functions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to