[
https://issues.apache.org/jira/browse/HIVE-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Devaraj Das updated HIVE-1537:
------------------------------
Attachment: hive-1537.metastore.part.patch
Assuming that the location issue is solved, we need some checks in the
create_database handler similar to what is there in the create_table handler.
This patch is an example patch. It introduces a check in
HiveMetaStore.create_database_core for existence of database directory, and
also checks for failure to create one. In either case, the create_database_core
operation throws an exception and the DDL would fail.
> Allow users to specify LOCATION in CREATE DATABASE statement
> ------------------------------------------------------------
>
> Key: HIVE-1537
> URL: https://issues.apache.org/jira/browse/HIVE-1537
> Project: Hive
> Issue Type: New Feature
> Components: Metastore
> Reporter: Carl Steinbach
> Assignee: Thiruvel Thirumoolan
> Attachments: hive-1537.metastore.part.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira