Madhan Neethiraj created RANGER-1054:
----------------------------------------

             Summary: Enhance column masking feature to support custom 
value/expression
                 Key: RANGER-1054
                 URL: https://issues.apache.org/jira/browse/RANGER-1054
             Project: Ranger
          Issue Type: Bug
          Components: plugins
    Affects Versions: 0.6.0
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj


Column-masking feature supports a number of masking types - like 
mask/mask_first_4/mask_last_4/mask_show_first_4/.. Adding support to enable 
custom value or expression can make this feature easily extendable, to address 
various use cases. For example:
{noformat}
- to show only first 4 digits of ccn field, the expression would be 
'substr({col}, 0, 4)'
- to show only last 4 digits of ccn field, the expression would be 
'substr({col}, length({col} - 3)'
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to