GitHub user dilipbiswal opened a pull request:
https://github.com/apache/spark/pull/22797
[SPARK-19851][SQL] Add support for EVERY and ANY (SOME) aggregates
## What changes were proposed in this pull request?
Implements Every, Some, Any aggregates in SQL. Logically these aggregate
expressions are mapped to Min and Max, respectively.
```
Every(x) => Min(x) where x is boolean.
Some(x) => Max(x) where x is boolean.
```
Any is a synonym for Some.
## How was this patch tested?
Added
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dilipbiswal/spark SPARK-19851-extend
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22797.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22797
----
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]