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

Eugene Koifman commented on HIVE-17457:
---------------------------------------

If the file is readable it's simpler than this: 
all rows in base_x that is the result of insert/load data with OVERWRITE are 
created by the aborted transaction x and so will be skipped by Acid readers.
It would be more performant to filter out base_x at file level.
\\
What if there is base_5 and delta_6_6 where txnid:6 is aborted - does 
compaction produce base_6?  Probably not since getAcidState() should skip 
delta_6.  Need to verify.

> Acid Insert Overwrite when the transaction fails
> ------------------------------------------------
>
>                 Key: HIVE-17457
>                 URL: https://issues.apache.org/jira/browse/HIVE-17457
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 3.0.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>
> HIVE-14988 adds support for Insert Overwrite for Acid tables.
> once we have direct write to target dir (i.e. no move op) - how do we handle 
> the case where the txn running IOW aborts?  See if getAcidState() does the 
> right thing



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to