Quanlong Huang created IMPALA-9598:
--------------------------------------

             Summary: Add builtin functions for masking middle of the string
                 Key: IMPALA-9598
                 URL: https://issues.apache.org/jira/browse/IMPALA-9598
             Project: IMPALA
          Issue Type: New Feature
            Reporter: Quanlong Huang


It's a common requirement that showing both the first m and last n chars of the 
phone number. We can provide a builtin function for this. The definition can be
{code}
mask_middle_n(value, firstCharCount, lastCharCount, upperChar, lowerChar,
    digitChar, otherChar, numberChar)
mask_show_middle_n(value, firstCharCount, lastCharCount, upperChar, lowerChar,
    digitChar, otherChar, numberChar)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to