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

ALTER TABLE RENAME is not modifying the location of managed table

    XMLWordPrintableJSON

    Details

      Description

      The location of the managed table is not changing when the table is renamed.

      This causes correctness issues as well like the following -

      create table abc (id int);
      insert into abc values (1);
      rename table abc to def;
      create table abc (id int); // This should be empty
      insert into abc values (2);
      select * from abc ; // now returns the 1 and 2, (ie the old results as well)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hemanth619 Sai Hemanth Gantasala
                Reporter:
                hemanth619 Sai Hemanth Gantasala
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 20m
                  20m