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

For ALTER TABLE t SET TBLPROPERTIES ('EXTERNAL'='TRUE'); `TBL_TYPE` attribute change not reflecting for non-CAPS

    XMLWordPrintableJSON

Details

    Description

      Hive EXTERNAL table shown as MANAGED after conversion using 

       ALTER TABLE t SET TBLPROPERTIES ('EXTERNAL'='True')
      

       

      The DESCRIBE FORMATTED shows:

      Table Type:            MANAGED_TABLE
      Table Parameters:
                                     EXTERNAL           True
      

       

      This is actually a External table but is shown wrongly, as 'True' was used in place of 'TRUE' in the ALTER statement.

      Issue explained here: 

      StakOverflow - Hive Table is MANAGED or EXTERNAL

       

      Attachments

        1. hive20057.patch
          2 kB
          Anirudh

        Issue Links

          Activity

            People

              animenon Anirudh
              animenon Anirudh
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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