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 2018/02/23 05:52:00 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-23490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li resolved SPARK-23490.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.0

> 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
>            Assignee: Gengliang Wang
>            Priority: Major
>             Fix For: 2.4.0
>
>
> 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