Sankar Hariappan created HIVE-21500:
---------------------------------------

             Summary: Support converting managed ACID table to external if the 
corresponding non-ACID table is converted to external at source.
                 Key: HIVE-21500
                 URL: https://issues.apache.org/jira/browse/HIVE-21500
             Project: Hive
          Issue Type: Sub-task
    Affects Versions: 4.0.0
            Reporter: Sankar Hariappan
            Assignee: Sankar Hariappan


For the below scenario of Hive2  to Hive3 replication (with strict 
managed=true), the managed ACID table at target should be converted to external 
table.
1. Create non-ACID ORC format table.
2. Insert some rows
3. Replicate this create event which creates ACID table at target (due to 
migration rule). Each insert event adds metadata in HMS corresponding to the 
current table.
4. Convert table to external table using ALTER command.
5. Replicating this alter event should convert ACID table to external table and 
make sure corresponding metadata are removed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to