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

Andrew Or resolved SPARK-18517.
-------------------------------
          Resolution: Fixed
            Assignee: Dongjoon Hyun
       Fix Version/s: 2.1.0
    Target Version/s: 2.1.0

> DROP TABLE IF EXISTS should not warn for non-existing tables
> ------------------------------------------------------------
>
>                 Key: SPARK-18517
>                 URL: https://issues.apache.org/jira/browse/SPARK-18517
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.2
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Currently, `DROP TABLE IF EXISTS` shows warning for non-existing tables. 
> However, it had better be quiet for this case by definition of the command.
> {code}
> scala> sql("DROP TABLE IF EXISTS nonexist")
> 16/11/20 20:48:26 WARN DropTableCommand: 
> org.apache.spark.sql.catalyst.analysis.NoSuchTableException: Table or view 
> 'nonexist' not found in database 'default';
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to