Boying Lu created HIVE-21519:
--------------------------------

             Summary: The meta data of table is not updated after setting a new 
data location
                 Key: HIVE-21519
                 URL: https://issues.apache.org/jira/browse/HIVE-21519
             Project: Hive
          Issue Type: Bug
          Components: Database/Schema
    Affects Versions: 1.1.0
            Reporter: Boying Lu


re-produce steps:
 # create a new hive table T1 (without any partition)
 #  persist some data into T1
 # create a new hive table T2 (without any partition)
 # alter table T2 set location path-to-T1-HDFS-folder

expected result:

     The metadata of T2 is changed accordingly

 

actual resut:

    The metadata of T2 is not changed

even after running the commands:

   analyze table T2 compute statistics (only the number of rows was updated)

   msck repair table T2 (no effect)



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

Reply via email to