[
https://issues.apache.org/jira/browse/HIVE-27746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng resolved HIVE-27746.
--------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Merged to master. Thank you [~hemanth619] , [~jfs] and [~henrib] for the review!
A property: metastore.alterPartitions.notification.v2.enabled is introduced to
ensure backward compatibility when it sets to false, so downstream notification
consumers can still process the ALTER_PARTITION event without changes.
> Hive Metastore should send single AlterPartitionEvent with list of partitions
> -----------------------------------------------------------------------------
>
> Key: HIVE-27746
> URL: https://issues.apache.org/jira/browse/HIVE-27746
> Project: Hive
> Issue Type: Improvement
> Components: Standalone Metastore
> Reporter: Naveen Gangam
> Assignee: Zhihua Deng
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> In HIVE-3938, work was done to send single AddPartitionEvent for APIs that
> add partitions in bulk. Similarly, we have alter_partitions APIs that alter
> partitions in bulk via a single HMS call. For such events, we should also
> send a single AlterPartitionEvent with a list of partitions in it.
> This would be way more efficient than having to send and process them
> individually.
> This fix will be incompatible with the older clients that expect single
> partition.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)