You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2026/04/14 11:57:00 UTC

[jira] [Resolved] (SPARK-55979) Required input attributes are missing from PartialMerge / Final BaseAggregateExec.references

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

Wenchen Fan resolved SPARK-55979.
---------------------------------
    Fix Version/s: 4.2.0
       Resolution: Fixed

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

> Required input attributes are missing from PartialMerge / Final BaseAggregateExec.references
> --------------------------------------------------------------------------------------------
>
>                 Key: SPARK-55979
>                 URL: https://issues.apache.org/jira/browse/SPARK-55979
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.1.1
>            Reporter: Hongze Zhang
>            Assignee: Hongze Zhang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.2.0
>
>
> In some cases, aggregate's required attributes are not present in aggregate.references, which is a bug:
> !image-2026-03-12-19-29-56-189.png|width=547,height=179!
> In the debug screenshot, parent is a HashAggregateExec, which needs sum#1207L / sum#1208L as intermediate input. However, they are not present in `.references` call, producing unreliability for further work relying on `.references` call.



--
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