You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Naveen Gangam (JIRA)" <ji...@apache.org> on 2019/08/14 06:30:00 UTC

[jira] [Assigned] (HIVE-22100) Hive generates a add partition event with empty partition list

     [ 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)