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

TRANSLATED_TO_EXTERNAL tables may write to the same location

    XMLWordPrintableJSON

Details

    Description

      create table t (a integer);
      insert into t values(1);
      alter table t rename to t2;
      create table t (a integer); -- I expected an exception from this command (location already exists) but because its an external table no exception
      insert into t values(2);
      select * from t;  -- shows 1 and 2
      drop table t2;    -- wipes out data location
      select * from t;  -- empty resultset
      

      Attachments

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 1h 20m
                  1h 20m