[ https://issues.apache.org/jira/browse/SPARK-18517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15682523#comment-15682523 ]
Apache Spark commented on SPARK-18517: -------------------------------------- User 'dongjoon-hyun' has created a pull request for this issue: https://github.com/apache/spark/pull/15953 > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org