You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sankar Hariappan (JIRA)" <ji...@apache.org> on 2017/05/24 11:34:04 UTC

[jira] [Created] (HIVE-16750) Support change management for rename table/partition.

Sankar Hariappan created HIVE-16750:
---------------------------------------

             Summary: Support change management for rename table/partition.
                 Key: HIVE-16750
                 URL: https://issues.apache.org/jira/browse/HIVE-16750
             Project: Hive
          Issue Type: Sub-task
          Components: Hive, repl
    Affects Versions: 2.1.0
            Reporter: Sankar Hariappan
            Assignee: Sankar Hariappan


Currently, rename table/partition updates the data location by renaming the directory which is equivalent to moving files to new path and delete old path. So, this should trigger move of files into $CMROOT.

Scenario:
1. Create a table (T1)
2. Insert a record
3. Rename the table(T1 -> T2)
4. Repl Dump till Insert.
5. Repl Load from the dump.
6. Target DB should have table T1 with the record.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)