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

L. C. Hsieh updated SPARK-53155:
--------------------------------
    Labels: pull-request-available  (was: corre pull-request-available)

> Global lower agggregation should not be removed
> -----------------------------------------------
>
>                 Key: SPARK-53155
>                 URL: https://issues.apache.org/jira/browse/SPARK-53155
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.2.4, 3.3.4, 3.4.4, 3.5.6, 4.0.0
>            Reporter: L. C. Hsieh
>            Priority: Major
>              Labels: pull-request-available
>
> The optimizer rule RemoveRedundantAggregates removes redundant lower 
> aggregation from a query plan and replace it with a project of referred 
> non-aggregate expressions. However, if the removed aggregation is a global 
> one, that is not correct because a project is different with a global 
> aggregation in semantics.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to