You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2016/11/27 00:05:58 UTC

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

Xiao Li created SPARK-18595:
-------------------------------

             Summary: 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


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
(v6.3.4#6332)

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