You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2018/06/11 21:30:00 UTC

[jira] [Created] (HIVE-19861) Fix temp table path generation for acid table export

Jason Dere created HIVE-19861:
---------------------------------

             Summary: Fix temp table path generation for acid table export
                 Key: HIVE-19861
                 URL: https://issues.apache.org/jira/browse/HIVE-19861
             Project: Hive
          Issue Type: Bug
          Components: Import/Export, Transactions
            Reporter: Jason Dere
            Assignee: Jason Dere


Temp tables that are analyzed by the SemanticAnalyzer get their default location set to a location in the session directory. Export of Acid tables also creates temp tables, but this is done via a plan transformation, and the temp table creation never goes through the SemanticAnalyzer, meaning the location is not set. There is some other logic in DDLTask (which I am changing in HIV-19837) which ends up automatically setting this path to the default table location in the warehouse directory. This should be fixed so that the path defaults to a location in the session directory, like with normal temp tables.

cc [~ekoifman]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)