Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20667

fix bug - CREATE TABLE tabletype problem while executing addDbAndTabToOutputs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3.1, 3.1.0
    • None
    • HiveServer2

    Description

      problem is in ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java

      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.

       

      pull request: https://github.com/apache/hive/pull/426/files

      Attachments

        Issue Links

          Activity

            People

              tumaolin94 Maolin Tu
              tumaolin94 Maolin Tu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m