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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to