Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-18595

Handling ignoreIfExists in HiveExternalCatalog createTable API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.0.2
    • None
    • SQL

    Description

      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`.

      Attachments

        Activity

          People

            Unassigned Unassigned
            smilegator Xiao Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: