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

Truncate for Transactional tables should use base_x

    XMLWordPrintableJSON

Details

    Description

      This is a follow up to HIVE-19387.

      Once we have a lock that blocks writers but not readers (HIVE-19369), it would make sense to make truncate create a new base_x, where is x is a writeId in current txn - the same as Insert Overwrite does.

      This would mean it can work w/o interfering with existing writers.

      Attachments

        Issue Links

          Activity

            People

              pvargacl Peter Varga
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h