Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18320 Support ACID Tables Replication
  3. HIVE-18750

Exchange partition should be disabled on ACID/Insert-only tables with per table write ID.

    XMLWordPrintableJSON

Details

    Description

      Per table write id implementation (HIVE-18192) have introduced write ID per table and used write ID to name the delta/base files and also as primary key for each row.

      Now, exchange partition have to move delta/base files across tables without changing the write ID which causes incorrect results. 

      Also, this exchange partition feature is there to support the use-case of atomic updates. But with ACID updates, we shall support atomic-updates and hence it makes sense to not support exchange partition for ACID and MM tables.

      The qtest file mm_exchangepartition.q test results to be updated after this change.

      Attachments

        1. HIVE-18750.02.patch
          30 kB
          Sankar Hariappan
        2. HIVE-18750.01.patch
          29 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: