[
https://issues.apache.org/jira/browse/IMPALA-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Balazs Jeszenszky reassigned IMPALA-4366:
-----------------------------------------
Assignee: (was: 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
> 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: [email protected]
For additional commands, e-mail: [email protected]