[
https://issues.apache.org/jira/browse/SPARK-55979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hongze Zhang updated SPARK-55979:
---------------------------------
Description:
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.
was:
In some cases, aggregate's required attributes are not present in
aggregate.references, which is likely 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.
> 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
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]