You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:34:19 UTC

[jira] [Resolved] (SPARK-18595) Handling ignoreIfExists in HiveExternalCatalog createTable API

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

Hyukjin Kwon resolved SPARK-18595.
----------------------------------
    Resolution: Incomplete

> Handling ignoreIfExists in HiveExternalCatalog createTable API
> --------------------------------------------------------------
>
>                 Key: SPARK-18595
>                 URL: https://issues.apache.org/jira/browse/SPARK-18595
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.2
>            Reporter: Xiao Li
>            Priority: Major
>              Labels: bulk-closed
>
> Currently, `HiveExternalCatalog`'s `createTable` issues the exception if `ignoreIfExists` is true and the table exists. However, this is just a partial handling of `ignoreIfExists`. We can cover the other cases too. 
> Instead of passing `ignoreIfExists` of CREATE TABLE to Hive metastore, we can handle it in `HiveExternalCatalog`'s `createTable`. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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