Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11716

Reading ACID table from non-acid session should raise an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 1.3.0, 2.1.0
    • Transactions
    • None

    Description

      if someone performs a delete using DbTxnManager and than starts a new session with DummyTxnManager, then previously successfully deleted data will show up.

      Once the logic to identify all acid tables being read is there, make sure that
      Driver.recordValidTxns() called iff there ACID tables in the query.

      We should also not allow writing to ACID table from non-acid session

      Attachments

        1. HIVE-11716.1.patch
          9 kB
          Wei Zheng
        2. HIVE-11716.2.patch
          9 kB
          Wei Zheng
        3. HIVE-11716.3.patch
          10 kB
          Wei Zheng
        4. HIVE-11716.4.patch
          10 kB
          Wei Zheng
        5. HIVE-11716.5.patch
          13 kB
          Wei Zheng
        6. HIVE-11716.6.patch
          15 kB
          Wei Zheng
        7. HIVE-11716.branch-1.patch
          15 kB
          Wei Zheng

        Issue Links

          Activity

            People

              wzheng Wei Zheng
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: