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

The meta data of table is not updated after setting a new data location

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • None
    • Database/Schema
    • None

    Description

      re-produce steps:

      1. create a new hive table T1 (without any partition)
      2.  persist some data into T1
      3. create a new hive table T2 (without any partition)
      4. 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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            brian.lu Boying Lu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: