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)

Reply via email to