Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9095

Alter table events generated by renames are not renaming the table to a different DB.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • Impala 3.4.0
    • Frontend
    • None
    • ghx-label-7

    Description

      Alter table renames was recently refactored. This introduced a bug where rename to a different database is not applied correctly.

      Steps to reproduce:

      From Hive:

      create database bug1;
      
      create table bug1.foo (id int);
      
      create database bug2;
      
      alter table bug1.foo rename to bug2.foo;

       

      From Impala:

      use bug2;
      
      show tables;

       

      Expect foo to show up in bug2, it doesn't. 

      Attachments

        Activity

          People

            anuragmantri Anurag Mantripragada
            anuragmantri Anurag Mantripragada
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: