[ 
https://issues.apache.org/jira/browse/HIVE-10658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554647#comment-14554647
 ] 

Eugene Koifman commented on HIVE-10658:
---------------------------------------

I didn't notice isPathEncrypted - will make use of it

It cannot be readonly, as you are doing an insert into a table in that zone.

getStrongestEncryptedTablePath() doesn't quite work as applies after the plan 
is resolved and I need to handle the temp table way before that happens. 

> Insert with values clause may expose data that should be encrypted
> ------------------------------------------------------------------
>
>                 Key: HIVE-10658
>                 URL: https://issues.apache.org/jira/browse/HIVE-10658
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Security
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-10658.2.patch, HIVE-10658.3.patch
>
>
> Insert into T values() operation uses temporary table.
> the data in temp tables is stored under the hive.exec.scratchdir which is not 
> usually encrypted.  This is a similar issue to using scratchdir for staging 
> query results



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

Reply via email to