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/03/20 11:16:00 UTC

[jira] [Assigned] (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 ]

Wenchen Fan reassigned SPARK-56035:
-----------------------------------

    Assignee: Mihailo Aleksic

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