diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-05-10 11:57:01 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-05-10 11:57:01 +0800 |
commit | f45379173bc3a3e657b6229bec2faeb409b6ad53 (patch) | |
tree | 99bc79f872e4e9c4c42ae214193d76cb7ea90cd1 /project | |
parent | 4b4344a81331e48b0a00032ec8285f33cc09788a (diff) | |
download | spark-f45379173bc3a3e657b6229bec2faeb409b6ad53.tar.gz spark-f45379173bc3a3e657b6229bec2faeb409b6ad53.tar.bz2 spark-f45379173bc3a3e657b6229bec2faeb409b6ad53.zip |
[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.
Diffstat (limited to 'project')
0 files changed, 0 insertions, 0 deletions