spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-18517) DROP TABLE IF EXISTS should not warn for non-existing tables
Date Mon, 21 Nov 2016 04:57:58 GMT

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

Apache Spark reassigned SPARK-18517:
------------------------------------

    Assignee: Apache Spark

> 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: Apache Spark
>            Priority: Minor
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message