You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/12/18 03:37:00 UTC

[jira] [Work logged] (HIVE-26868) Iceberg: Allow IOW on empty table with Partition Evolution

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

ASF GitHub Bot logged work on HIVE-26868:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Dec/22 03:36
            Start Date: 18/Dec/22 03:36
    Worklog Time Spent: 10m 
      Work Description: ayushtkn opened a new pull request, #3872:
URL: https://github.com/apache/hive/pull/3872

   ### What changes were proposed in this pull request?
   
   Allow IOW on empty iceberg tables.
   
   ### Why are the changes needed?
   
   Helps with compactions
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, IOW can be performed on empty tables.
   
   ### How was this patch tested?
   
   UT




Issue Time Tracking
-------------------

            Worklog Id:     (was: 834340)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>          Time Spent: 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)