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: [email protected]
For additional commands, e-mail: [email protected]