You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Igor Kryvenko (JIRA)" <ji...@apache.org> on 2018/11/20 22:10:00 UTC

[jira] [Commented] (HIVE-20941) Compactor produces a delete_delta_x_y even if there are no input delete events

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

Igor Kryvenko commented on HIVE-20941:
--------------------------------------

[~ekoifman] Hi Eugene. The root cause of it, that in {{CompactorMR.CompactorMap.map()}} we always create delete event write even if there is no input delete events. I've moved the initialization of this one, to the part where we are sure that we have input delete events. Also, added test for it.

> Compactor produces a delete_delta_x_y even if there are no input delete events
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-20941
>                 URL: https://issues.apache.org/jira/browse/HIVE-20941
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 3.0.0
>            Reporter: Eugene Koifman
>            Assignee: Igor Kryvenko
>            Priority: Major
>         Attachments: HIVE-20941.01.patch
>
>
> see example in HIVE-20901
>  
> Probably change logic in CompactorMR.CompactorMap.map() which creates delete event writer



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