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

David Mollitor commented on IMPALA-10710:
-----------------------------------------

I've mentally stewed on this issue a bit more and think the existing code is 
probably better. Will follow up if I still think this change is needed.

> Do Not Drop Kudu Table When Table Already Exists in HMS
> -------------------------------------------------------
>
>                 Key: IMPALA-10710
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10710
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: David Mollitor
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> As I understand the code, Impala performs HMS/Kudu {{CREATE TABLE}} 
> interaction as:
>  * Create the table in Kudu
>  * Register table with HMS
>  * Drop the Kudu table on HMS error
> This is generally OK, except that it drops the table from Kudu on a 
> {{TableAlreadyExists}} Exception.
> So, if I issue the same {{CREATE TABLE}} statement twice, the data will be 
> dropped from Kudu on the second execution.



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

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

Reply via email to