GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/21246
[SPARK-23901][SQL] Add masking functions
## What changes were proposed in this pull request?
The PR adds the masking function as they are described in Hive's
documentation:
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DataMaskingFunctions.
This means that only `string`s are accepted as parameter for the masking
functions.
## 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-23901
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21246.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 #21246
----
commit 40cffbdd8e5079e86ba3a3b3838e305cf2a3a0fe
Author: Marco Gaido <marcogaido91@...>
Date: 2018-04-13T12:37:56Z
[SPARK-23901][SQL] Add masking functions
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]