[ https://issues.apache.org/jira/browse/ATLAS-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated ATLAS-941: ----------------------------------- Description: 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} was: 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: - 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)' > Enhance column masking feature to support custom value/expression > ----------------------------------------------------------------- > > Key: ATLAS-941 > URL: https://issues.apache.org/jira/browse/ATLAS-941 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.6-incubating > 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)