Ayush Saxena created HIVE-26868:
-----------------------------------

             Summary: Iceberg: Allow IOW on empty table with Partition Evolution
                 Key: HIVE-26868
                 URL: https://issues.apache.org/jira/browse/HIVE-26868
             Project: Hive
          Issue Type: Improvement
            Reporter: Ayush Saxena
            Assignee: Ayush Saxena


In case an iceberg table has gone through partition evolution, we don't allow 
an IOW operation on it.

But if it is empty, we can allow an IOW since there ain't any data which can 
get messed by overwrite.

This helps to compact data, & merge the delete files into data file

via

Truncate -> IOW with Snapshot ID before Truncate.

Same flow is used by Impala for compacting Iceberg tables.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to