You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Vinod KC (Jira)" <ji...@apache.org> on 2022/10/08 15:44:00 UTC

[jira] [Commented] (SPARK-40688) Support data masking built-in function 'mask_first_n'

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

Vinod KC commented on SPARK-40688:
----------------------------------

I'm working on this sub task

> Support data masking built-in function  'mask_first_n'
> ------------------------------------------------------
>
>                 Key: SPARK-40688
>                 URL: https://issues.apache.org/jira/browse/SPARK-40688
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Vinod KC
>            Priority: Minor
>
> Support data masking built-in function  *mask_first_n*
> Return a masked version of str with the first n values masked. Upper case letters should be converted to "X", lower case letters should be converted to "x" and numbers should be converted to "n". For example, mask_first_n("1234-5678-8765-4321", 4) results in nnnn-5678-8765-4321.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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