[ https://issues.apache.org/jira/browse/HIVE-10658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14535431#comment-14535431 ]
Sergio Peña commented on HIVE-10658: ------------------------------------ Doesn't ACID get the scratch directory from the Context object? The {{SemanticAnalyzer.getMetaData()}} gets the encrypted or /tmp directory from getStagingDirectoryPathname() and sets the value to the Context. This might help. See the line {{Path stagingPath = getStagingDirectoryPathname(qb);}} > ACID operation expose encrypted data > ------------------------------------ > > Key: HIVE-10658 > URL: https://issues.apache.org/jira/browse/HIVE-10658 > Project: Hive > Issue Type: Sub-task > Reporter: Eugene Koifman > > Insert/Update/Delete operations all use temporary tables. > 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)