You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sourabh Badhya (Jira)" <ji...@apache.org> on 2022/05/18 08:36:00 UTC

[jira] [Commented] (HIVE-26231) Generate insert notification events when dynamic partition insert is done on existing partitions

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

Sourabh Badhya commented on HIVE-26231:
---------------------------------------

Thanks [~dkuzmenko] for the review.

> Generate insert notification events when dynamic partition insert is done on existing partitions
> ------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-26231
>                 URL: https://issues.apache.org/jira/browse/HIVE-26231
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Sourabh Badhya
>            Assignee: Sourabh Badhya
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> HIVE-24738 introduced a bug which wont allow generation of insert events when dynamic partition insert is done on existing partitions.
> The newFiles list used is null because of the following condition - 
> [https://github.com/apache/hive/blob/8077bb118cb418cae24a46f7155c481bf893da99/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L3159]
> The newFiles is assigned to empty list only when new partitions are created and is not assigned when insert is done on existing partitions. This affects insert events generation for external tables.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)