You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ruben Janssen (JIRA)" <ji...@apache.org> on 2017/12/08 21:30:01 UTC

[jira] [Updated] (SPARK-22741) Add global aggregate for typed aggregation

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