[
https://issues.apache.org/jira/browse/HIVE-10658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14538125#comment-14538125
]
Sergio Peña commented on HIVE-10658:
------------------------------------
Yes. All queries and statements uses this change so that the temporary results
go to the encrypted directory (if there is one) without passing through the
non-encrypted directory (found on scratch directory).
The staging directory is set on the Context object based on the T location. If
T is encrypted, it then returns a subdirectory from where T is located; else it
returns a directory using {{hive.exec.scratchdir}}. You can use this to get the
temporary directory.
> 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
> Reporter: Eugene Koifman
> Assignee: Eugene Koifman
>
> 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)