[ 
https://issues.apache.org/jira/browse/SPARK-23901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16514687#comment-16514687
 ] 

Marco Gaido commented on SPARK-23901:
-------------------------------------

These functions can be used as any other function in Hive, they are not just 
there for the Hive authorizer. I think the use case for them is to anonymize 
data for privacy reasons (eg. expose/export to other parties data without 
providing sensible data, but still being able to use them in joins).

> Data Masking Functions
> ----------------------
>
>                 Key: SPARK-23901
>                 URL: https://issues.apache.org/jira/browse/SPARK-23901
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Xiao Li
>            Assignee: Marco Gaido
>            Priority: Major
>             Fix For: 2.4.0
>
>
> - mask()
>  - mask_first_n()
>  - mask_last_n()
>  - mask_hash()
>  - mask_show_first_n()
>  - mask_show_last_n()
> Reference:
> [1] 
> [https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DataMaskingFunctions]
> [2] https://issues.apache.org/jira/browse/HIVE-13568
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to