You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "L. C. Hsieh (Jira)" <ji...@apache.org> on 2025/08/06 20:31:00 UTC
[jira] [Created] (SPARK-53155) Global lower agggregation should not be removed
L. C. Hsieh created SPARK-53155:
-----------------------------------
Summary: 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: 4.0.0, 3.5.6, 3.4.4
Reporter: L. C. Hsieh
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org