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/07 00:20:00 UTC

[jira] [Created] (SPARK-40690) Support data masking built-in function 'mask_show_first_n'

Vinod KC created SPARK-40690:
--------------------------------

             Summary: Support data masking built-in function 'mask_show_first_n'
                 Key: SPARK-40690
                 URL: https://issues.apache.org/jira/browse/SPARK-40690
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: Vinod KC


Support data masking built-in function '{*}mask_show_first_n{*}'

Return a masked version of str, showing the first n characters unmasked . 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_show_first_n("1234-5678-8765-4321", 4) results in 1234-nnnn-nnnn-nnnn.



--
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