[
https://issues.apache.org/jira/browse/SPARK-22686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun updated SPARK-22686:
----------------------------------
Summary: DROP TABLE IF EXISTS should not show AnalysisException (was: DROP
TABLE IF EXISTS should not throw AnalysisException)
> DROP TABLE IF EXISTS should not show AnalysisException
> ------------------------------------------------------
>
> Key: SPARK-22686
> URL: https://issues.apache.org/jira/browse/SPARK-22686
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.2.1
> Reporter: Dongjoon Hyun
>
> During SPARK-22488 to Fix the view resolution issue, there occurs a
> regression at 2.2.1 and master branch like the following.
> {code}
> scala> spark.version
> res2: String = 2.2.1
> scala> sql("DROP TABLE IF EXISTS t").show
> 17/12/04 21:01:06 WARN DropTableCommand:
> org.apache.spark.sql.AnalysisException: Table or view not found: t;
> org.apache.spark.sql.AnalysisException: Table or view not found: t;
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]