You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2016/11/21 04:51:58 UTC

[jira] [Created] (SPARK-18517) DROP TABLE IF EXISTS should not warn for non-existing tables

Dongjoon Hyun created SPARK-18517:
-------------------------------------

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