[ https://issues.apache.org/jira/browse/HIVE-26231?focusedWorklogId=771742&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-771742 ]
ASF GitHub Bot logged work on HIVE-26231: ----------------------------------------- Author: ASF GitHub Bot Created on: 18/May/22 07:59 Start Date: 18/May/22 07:59 Worklog Time Spent: 10m Work Description: deniskuzZ merged PR #3294: URL: https://github.com/apache/hive/pull/3294 Issue Time Tracking ------------------- Worklog Id: (was: 771742) Time Spent: 0.5h (was: 20m) > 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)