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

Renaming a translated external table with a specified location fails with 'location already exists' exception

    XMLWordPrintableJSON

Details

    Description

      Renaming a translated external table with a specified location fails with 'location already exists' exception.
      Below are steps for repro

      create database tmp;
      use tmp;
      create table b(s string) stored as parquet location 'hdfs://localhost:20500/test-warehouse/tmp.db/some_location';
      alter table b rename to bb;
      ERROR: InvalidOperationException: New location for this table hive.tmp.bb already exists : hdfs://localhost:20500/test-warehouse/tmp.db/some_location 

      Attachments

        Issue Links

          Activity

            People

              hemanth619 Sai Hemanth Gantasala
              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 - 3h
                  3h