You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (JIRA)" <ji...@apache.org> on 2018/02/22 15:35:00 UTC

[jira] [Created] (SPARK-23490) Check storage.locationUri with existing table in CreateTable

Gengliang Wang created SPARK-23490:
--------------------------------------

             Summary: Check storage.locationUri with existing table in CreateTable 
                 Key: SPARK-23490
                 URL: https://issues.apache.org/jira/browse/SPARK-23490
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.3.1
            Reporter: Gengliang Wang


For CreateTable with Append mode, we should check if `storage.locationUri` is the same with existing table in `PreprocessTableCreation`

In the current code, there is only a simple exception if the `storage.locationUri` is different with existing table:`org.apache.spark.sql.AnalysisException: Table or view not found:`

which can be improved.



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