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

Test and support replication of exchange partition

    XMLWordPrintableJSON

Details

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

    Description

      The Exchange (Move) partition operation should be replicated.

      – Move partition from src_table to dest_table
      ALTER TABLE dest_table EXCHANGE PARTITION (partition_spec) WITH TABLE src_table;
      – multiple partitions
      ALTER TABLE dest_table EXCHANGE PARTITION (partial_partition_spec) WITH TABLE src_table;

      Already, logging the Exchange Partition as ADD_PARTITION event on destination table and DROP_PARTITION event on source table.
      Need to check the behaviour and then also add a test to verify the same.

      Attachments

        1. HIVE-16344.01.patch
          7 kB
          Sankar Hariappan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: