spark-instrumented-optimizer/sql/catalyst/src/main
gatorsmile f45379173b [SPARK-15187][SQL] Disallow Dropping Default Database
#### What changes were proposed in this pull request?
In Hive Metastore, dropping default database is not allowed. However, in `InMemoryCatalog`, this is allowed.

This PR is to disallow users to drop default database.

#### How was this patch tested?
Previously, we already have a test case in HiveDDLSuite. Now, we also add the same one in DDLSuite

Author: gatorsmile <gatorsmile@gmail.com>

Closes #12962 from gatorsmile/dropDefaultDB.
2016-05-10 11:57:01 +08:00
..
antlr4/org/apache/spark/sql/catalyst/parser [SPARK-6339][SQL] Supports CREATE TEMPORARY VIEW tableIdentifier AS query 2016-05-04 18:27:25 -07:00
java/org/apache/spark/sql [SPARK-14850][ML] convert primitive array from/to unsafe array directly in VectorUDT/MatrixUDT 2016-04-29 23:04:51 -07:00
scala/org/apache/spark/sql [SPARK-15187][SQL] Disallow Dropping Default Database 2016-05-10 11:57:01 +08:00