[ 
https://issues.apache.org/jira/browse/HIVE-26231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stamatis Zampetakis updated HIVE-26231:
---------------------------------------
    Fix Version/s: 4.0.0-alpha-2

> 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
>             Fix For: 4.0.0-alpha-2
>
>          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)

Reply via email to