You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/12/07 21:23:09 UTC
[jira] Commented: (HIVE-1836) Extend the CREATE DATABASE command
with DBPROPERTIES
[ https://issues.apache.org/jira/browse/HIVE-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968941#action_12968941 ]
Namit Jain commented on HIVE-1836:
----------------------------------
If you are doing this, do you want to add a 'alter database' also ?
> Extend the CREATE DATABASE command with DBPROPERTIES
> ----------------------------------------------------
>
> Key: HIVE-1836
> URL: https://issues.apache.org/jira/browse/HIVE-1836
> Project: Hive
> Issue Type: Sub-task
> Reporter: Ning Zhang
> Assignee: Ning Zhang
> Attachments: HIVE-1836.patch
>
>
> We should be able to assign key-value pairs of properties to Hive databases.
> The proposed syntax is similar to the CREATE TABLE and CREATE INDEX commands:
> {code}
> CREATE DATABASE <DB_NAME> WITH DBPROPERTIES ('key1' = 'value1', 'key2' = 'value2');
> {code}
> The
> {code}
> DESC DATABASE EXTENDED <DB_NAME>;
> {code}
> should be able to display the properties. (requires HIVE-1821)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.