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

L. C. Hsieh resolved SPARK-53155.
---------------------------------
    Fix Version/s: 4.1.0
                   4.0.1
                   3.5.7
       Resolution: Fixed

Issue resolved by pull request 51884
[https://github.com/apache/spark/pull/51884]

> 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
>            Assignee: L. C. Hsieh
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0, 4.0.1, 3.5.7
>
>
> 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