Details
-
New Feature
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
How should this work? Should it work like Insert Overwrite T select * from T where 1=2?
This should create a new empty base_x/ and thus operate w/o violating Snapshot Isolation semantics.
This makes sense for specific partition or unpartitioned table. What about "Truncate T" where T is partitioned? Is the expectation to wipe out all partition info or to make each partition empty?
Attachments
Attachments
Issue Links
- blocks
-
HIVE-20137 Truncate for Transactional tables should use base_x
- Closed
- is a clone of
-
HIVE-18131 Truncate table for Acid tables
- Closed