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: [email protected]
For additional commands, e-mail: [email protected]