You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Balazs Jeszenszky (Jira)" <ji...@apache.org> on 2020/02/12 19:44:00 UTC

[jira] [Assigned] (IMPALA-4366) Partition is created in HMS even though the ALTER TABLE .. ADD PARTITION stmt fails

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

Balazs Jeszenszky reassigned IMPALA-4366:
-----------------------------------------

    Assignee: Balazs Jeszenszky

> Partition is created in HMS even though the ALTER TABLE .. ADD PARTITION stmt fails
> -----------------------------------------------------------------------------------
>
>                 Key: IMPALA-4366
>                 URL: https://issues.apache.org/jira/browse/IMPALA-4366
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>    Affects Versions: Impala 2.7.0
>            Reporter: Dimitris Tsirogiannis
>            Assignee: Balazs Jeszenszky
>            Priority: Major
>              Labels: catalog-server, newbie
>
> In some cases, even though adding a partition using an ALTER TABLE ADD PARTITION statement fails, the partition is still created in HMS. To reproduce the problem:
> {code}
> create table foo (a int) partitioned by (x int);
> alter table foo add partition (x = false); <-- This throws a CatalogException due to the wrong type used.
> alter table foo add partition (x = false); <--- This throws an AlreadyExistsException for partition x=False
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org