GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/21986
[SPARK-23937][SQL] Add map_filter SQL function
## What changes were proposed in this pull request?
The PR adds the high order function `map_filter`, which filters the entries
of a map and returns a new map which contains only the entries which satisfied
the filter function.
## 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-23937
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21986.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 #21986
----
commit 3f88e2a927c22f4fc509b8ca96027ef381f7fe84
Author: Marco Gaido <marcogaido91@...>
Date: 2018-08-03T15:16:11Z
[SPARK-23937][SQL] Add map_filter SQL function
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]