Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
-
None
Description
DbNotificationListener and NotificationListener both depend on AddPartitionEvent.getPartitions() to get their partitions to trigger a message, but this can be null if an AddPartitionEvent was initialized on a PartitionSpec rather than a List<Partition>.
Also, AddPartitionEvent seems to have a duality, where getPartitions() works only if instantiated on a List<Partition>, and getPartitionIterator() works only if instantiated on a PartitionSpec.
Attachments
Attachments
Issue Links
- is depended upon by
-
HIVE-10250 Optimize AuthorizationPreEventListener to reuse TableWrapper objects
- Open
- is duplicated by
-
HIVE-9679 Remove redundant null-checks from DbNotificationListener.
- Closed