-
- Downloads
[SPARK-18050][SQL] do not create default database if it already exists
## What changes were proposed in this pull request? When we try to create the default database, we ask hive to do nothing if it already exists. However, Hive will log an error message instead of doing nothing, and the error message is quite annoying and confusing. In this PR, we only create default database if it doesn't exist. ## How was this patch tested? N/A Author: Wenchen Fan <wenchen@databricks.com> Closes #15993 from cloud-fan/default-db. (cherry picked from commit f129ebcd) Signed-off-by:Andrew Or <andrewor14@gmail.com>
Please register or sign in to comment