[ https://issues.apache.org/jira/browse/SPARK-40688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17655734#comment-17655734 ]
Apache Spark commented on SPARK-40688: -------------------------------------- User 'vinodkc' has created a pull request for this issue: https://github.com/apache/spark/pull/39449 > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org