Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14841 Replication - Phase 2
  3. HIVE-16750

Support change management for rename table/partition.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 3.0.0
    • Hive, repl
    • Reviewed

    Description

      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.

      Similar scenario with rename partition as well.

      Attachments

        1. HIVE-16750.03.patch
          25 kB
          Sankar Hariappan
        2. HIVE-16750.02.patch
          22 kB
          Sankar Hariappan
        3. HIVE-16750.01.patch
          17 kB
          Sankar Hariappan

        Issue Links

          Activity

            People

              sankarh Sankar Hariappan
              sankarh Sankar Hariappan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: