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

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

Mihailo Aleksic created SPARK-56035:
---------------------------------------

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


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