[
https://issues.apache.org/jira/browse/HIVE-9408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14284199#comment-14284199
]
Brock Noland commented on HIVE-9408:
------------------------------------
Hi,
Assume a query has both a credit card number and a phone number. Then you could
create {{CreditCardRedactor}} and {{PhoneNumberRedactor}}. If the configuration
was {{CreditCardRedactor,PhoneNumberRedactor}} then you'd first redact the
credit card, pass the redacted query into the phone number redactor. After the
loop both would be redacted.
Instead of having a list we could have a single value which would have to do
both, but the other hooks are a list of CSV class names.
Brock
> Add hook interface so queries can be redacted before being placed in job.xml
> ----------------------------------------------------------------------------
>
> Key: HIVE-9408
> URL: https://issues.apache.org/jira/browse/HIVE-9408
> Project: Hive
> Issue Type: Task
> Components: Query Processor
> Affects Versions: 0.15.0
> Reporter: Brock Noland
> Assignee: Brock Noland
> Attachments: HIVE-9408.1.patch, HIVE-9408.2.patch, HIVE-9408.3.patch
>
>
> Today we take a query and place it in the job.xml file which is pushed to all
> nodes the query runs on. However it's possible the query contains sensitive
> information and should not directly be shown to users.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)