GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/21025
[SPARK-23918][SQL] Add array_min function
## What changes were proposed in this pull request?
The PR adds the SQL function `array_min`. It takes an array as argument and
returns the minimum value in it.
## How was this patch tested?
added UTs
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-23918
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21025.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 #21025
----
commit b176f8d94a175190f3ef478d418341aa66d8a82c
Author: Marco Gaido <marcogaido91@...>
Date: 2018-04-10T11:12:40Z
[SPARK-23918][SQL] Add array_min function
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]