[
https://issues.apache.org/jira/browse/SPARK-16459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herman van Hovell updated SPARK-16459:
--------------------------------------
Fix Version/s: (was: 2.1.0)
2.0.0
> Prevent dropping current database
> ---------------------------------
>
> Key: SPARK-16459
> URL: https://issues.apache.org/jira/browse/SPARK-16459
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Dongjoon Hyun
> Assignee: Dongjoon Hyun
> Priority: Minor
> Fix For: 2.0.0
>
>
> This issue prevents dropping the current database to avoid errors like the
> followings.
> {code}
> scala> sql("create database delete_db")
> scala> sql("use delete_db")
> scala> sql("drop database delete_db")
> scala> sql("create table t as select 1")
> org.apache.spark.sql.catalyst.analysis.NoSuchDatabaseException: Database
> 'delete_db' not found;
> {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]