You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/03/19 14:05:00 UTC

[jira] [Updated] (SPARK-56035) Introduce `AggregateValidator` for single-pass resolver `Aggregate` validation

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

ASF GitHub Bot updated SPARK-56035:
-----------------------------------
    Labels: pull-request-available  (was: )

> Introduce `AggregateValidator` for single-pass resolver `Aggregate` validation
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-56035
>                 URL: https://issues.apache.org/jira/browse/SPARK-56035
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.1.1
>            Reporter: Mihailo Aleksic
>            Priority: Major
>              Labels: pull-request-available
>
> Right now
> ```
> SELECT col1 + rand() FROM VALUES(1) GROUP BY ALL
> ```
> fails with `MISSING_AGGREGATION` in the single-pass resolver because we can't match grouping and aggregate expressions since `semanticEquals` requires both expressions to be deterministic but we do the validation before `PulloutNonDeterministic` 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