[ 
https://issues.apache.org/jira/browse/ARROW-14482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Augusto Alves Silva closed ARROW-14482.
---------------------------------------

> [C++][Gandiva] Implement MASK_FIRST_N and MASK_LAST_N functions
> ---------------------------------------------------------------
>
>                 Key: ARROW-14482
>                 URL: https://issues.apache.org/jira/browse/ARROW-14482
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++ - Gandiva
>            Reporter: Augusto Alves Silva
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 10h
>  Remaining Estimate: 0h
>
> *MASK_FIRST_N*
> {color:#172b4d}Returns a masked version of str with the first n values 
> masked.{color}{color:#172b4d} Upper case letters are converted to "X", lower 
> case letters are converted to "x" and numbers are converted to "n". For 
> example, mask_first_n("1234-5678-8765-4321", 4) results in 
> nnnn-5678-8765-4321.
> *MASK_LAST_N*
> Returns a masked version of str with the last n values masked. Upper case 
> letters are converted to "X", lower case letters are converted to "x" and 
> numbers are converted to "n". For example, mask_last_n("1234-5678-8765-4321", 
> 4) results in 1234-5678-8765-nnnn.{color}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to