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

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

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

Apache Spark commented on SPARK-18595:
--------------------------------------

User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/16019

> 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