You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2018/05/02 19:53:00 UTC

[jira] [Created] (HIVE-19387) CLONE - Truncate table for Acid tables

Eugene Koifman created HIVE-19387:
-------------------------------------

             Summary: CLONE - Truncate table for Acid tables
                 Key: HIVE-19387
                 URL: https://issues.apache.org/jira/browse/HIVE-19387
             Project: Hive
          Issue Type: New Feature
          Components: Transactions
            Reporter: Eugene Koifman
            Assignee: Eugene Koifman


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?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)