You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Velmurugan Periasamy (JIRA)" <ji...@apache.org> on 2017/03/19 22:15:41 UTC
[jira] [Updated] (RANGER-1054) Enhance column masking feature to
support custom value/expression
[ https://issues.apache.org/jira/browse/RANGER-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Velmurugan Periasamy updated RANGER-1054:
-----------------------------------------
Fix Version/s: 0.6.0
> 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
> Fix For: 0.6.0
>
> Attachments: RANGER-1054.patch
>
>
> 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.15#6346)