Augusto Alves Silva created ARROW-14482:
-------------------------------------------
Summary: [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
*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.3.4#803005)