[jira] Commented: (HIVE-1836) Extend the CREATE DATABASE command with DBPROPERTIES

2010-12-07 Thread Ning Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12968961#action_12968961
 ] 

Ning Zhang commented on HIVE-1836:
--

Yes, will add 'alter database' also in a follow-up JIRA. A question is that if 
alter the current database, wether to change the HiveConf parameters 
accordingly. Since 'alter database' is not a blocking issue yet, I'm working on 
HIVE-1820 first and then come back to that. 

 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.



[jira] Commented: (HIVE-1836) Extend the CREATE DATABASE command with DBPROPERTIES

2010-12-07 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12969037#action_12969037
 ] 

Namit Jain commented on HIVE-1836:
--

+1

 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.