You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Maolin Tu (JIRA)" <ji...@apache.org> on 2018/10/01 22:15:00 UTC

[jira] [Created] (HIVE-20667) fix bug - CREATE TABLE tabletype problem while executing addDbAndTabToOutputs

Maolin Tu created HIVE-20667:
--------------------------------

             Summary: fix bug - CREATE TABLE tabletype problem while executing addDbAndTabToOutputs
                 Key: HIVE-20667
                 URL: https://issues.apache.org/jira/browse/HIVE-20667
             Project: Hive
          Issue Type: Bug
          Components: HiveServer2
    Affects Versions: 3.1.0, 2.3.1
            Reporter: Maolin Tu
            Assignee: Maolin Tu


problem is in [ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java|https://github.com/apache/hive/pull/426/files#diff-f2040374293a91cbcc6594ee571b20e4]

In the release version of Hive, outputs'TableType always be MANAGED_TABLE, no matter the value of isExt is true of false. While I using post_execute_hook, I found this problem because I cannot get correct tabletype in HiveHookContext.

 



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