You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:23:32 UTC

[jira] [Updated] (SPARK-13428) Pushdown Aggregate Functions in Sort into Aggregate

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

Hyukjin Kwon updated SPARK-13428:
---------------------------------
    Labels: bulk-closed  (was: )

> Pushdown Aggregate Functions in Sort into Aggregate
> ---------------------------------------------------
>
>                 Key: SPARK-13428
>                 URL: https://issues.apache.org/jira/browse/SPARK-13428
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.0, 2.0.0
>            Reporter: Xiao Li
>            Priority: Major
>              Labels: bulk-closed
>
> Spark SQL is unable to resolve the following query. 
> {code}
>     sql(
>       """
>         |select area, sum(product) over () as c from windowData
>         |where product > 3 group by area, product
>         |having avg(month) > 0 order by area, avg(month), product
>       """.stripMargin)
> {code}
> We need to push down the aggregate functions in Sort into Aggregate.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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