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 "David Mollitor (Jira)" <ji...@apache.org> on 2021/05/20 17:45:00 UTC

[jira] [Commented] (IMPALA-10710) Do Not Drop Kudu Table When Table Already Exists in HMS

    [ 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org