[ 
https://issues.apache.org/jira/browse/IMPALA-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18046374#comment-18046374
 ] 

Raghav Jindal commented on IMPALA-4366:
---------------------------------------

[~dtsirogiannis] and [~jeszyb] Can I pick this up if the issue is still open 
and relevant?

 

> 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.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to