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

Support replication for rename/move table across database

    XMLWordPrintableJSON

Details

    Description

      Rename/move table across database should be supported for replication. The scenario is as follows.

      1. Create 2 databases (db1 and db2) in source cluster.
      2. Create the table db1.tbl1.
      3. Run bootstrap replication for db1 and db2 to target cluster.
      4. Rename db1.tbl1 to db2.tbl1 in source.
      5. Run incremental replication for both db1 and db2.

      • db1 dump missed the rename table operation as no event is generated for db1. So, table exist after load.
      • db2 load skips the rename event as the source table is missing in target.

      Attachments

        1. HIVE-17527.01.patch
          9 kB
          Thejas Nair
        2. HIVE-17527.01.patch
          9 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: