Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The output of SHOW CREATE DATABASE contains location, but doesn't contain managed location, so the database it would create would be actually different.
To reproduce:
create database db1 location "/test-warehouse/a" managedlocation "test-warehouse/b";
show create database db1;
result:
----------------------------------------------
createdb_stmt |
----------------------------------------------
CREATE DATABASE `db1` |
LOCATION |
'hdfs://localhost:20500/test-warehouse/a' |
----------------------------------------------
Attachments
Issue Links
- is related to
-
HIVE-22995 Add support for location for managed tables on database
- Closed
- links to