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

Naveen Gangam reassigned HIVE-22100:
------------------------------------

    Assignee: Naveen Gangam

> Hive generates a add partition event with empty partition list
> --------------------------------------------------------------
>
>                 Key: HIVE-22100
>                 URL: https://issues.apache.org/jira/browse/HIVE-22100
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Vihang Karajgaonkar
>            Assignee: Naveen Gangam
>            Priority: Major
>
> If the user issues a {{alter table <table> add if not exists partition 
> <partition_spec>}} and it the partition already exists, no partition is 
> added. However, metastore still generates a {{ADD_PARTITION}} event with 
> empty partition list. An {{alter table <table> drop if exists partition 
> <partition_spec>}} does not generate the {{DROP_PARTITION}} event in case the 
> partition is not existing.
> This behavior is inconsistent and misleading. Metastore should not generate 
> such add_partition events.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to