You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Sandeep More (JIRA)" <ji...@apache.org> on 2017/10/19 15:04:00 UTC
[jira] [Commented] (ORC-256) Add unmasked ranges option for redact
mask
[ https://issues.apache.org/jira/browse/ORC-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211173#comment-16211173 ]
Sandeep More commented on ORC-256:
----------------------------------
Thanks [~owen.omalley]
Following is the design I have been thinking, please let me know your thoughts:
# The react mask would accept an additional option (option #3 in this case) that has the configuration for leaving certain ranges of strings unmasked
# The option would be a set of 2-tuple string i.e. _*(<i>:<j>),(<k>:<l>),..*_ where i,j,k,l are integer indexes
## For a given CC number 4716790616086537, option to un-mask first and last four digits would be : (0:3),(12:15)
### The output would be 4716999999996537
## Given a string length could be of unknown size or too long the indexes can be negative, e.g. results of 2.1 can be achieved with option (-4:-1),(-13:0)
# By default the entire string will be masked
# For now only Stings will be supported
> Add unmasked ranges option for redact mask
> ------------------------------------------
>
> Key: ORC-256
> URL: https://issues.apache.org/jira/browse/ORC-256
> Project: ORC
> Issue Type: Sub-task
> Reporter: Owen O'Malley
> Assignee: Sandeep More
>
> It would be good to extend the Redact DataMask so that you could leave certain ranges of strings unmasked.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)