You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2020/04/03 02:34:00 UTC
[jira] [Created] (IMPALA-9598) Add builtin functions for masking
middle of the string
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org