[ 
https://issues.apache.org/jira/browse/HIVE-26868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17653676#comment-17653676
 ] 

Ayush Saxena commented on HIVE-26868:
-------------------------------------

Committed to master.

Thanx [~dkuzmenko] for the review!!!

> 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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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