[
https://issues.apache.org/jira/browse/SPARK-56035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-56035.
---------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
Issue resolved by pull request 54866
[https://github.com/apache/spark/pull/54866]
> 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
> Fix For: 4.2.0
>
>
> 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]