[ https://issues.apache.org/jira/browse/HIVE-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186224#comment-15186224 ]
Teddy Choi commented on HIVE-4847: ---------------------------------- I agree that this feature may cause unexpected errors due to recent innovations, mostly in metadata. I'll update its status. > add rename database functionality > --------------------------------- > > Key: HIVE-4847 > URL: https://issues.apache.org/jira/browse/HIVE-4847 > Project: Hive > Issue Type: New Feature > Affects Versions: 0.11.0 > Reporter: Greg Rahn > Assignee: Teddy Choi > Priority: Minor > Attachments: HIVE-4847.1.patch.txt, HIVE-4847.2.patch.txt > > > There seems to be no way to rename a database in Hive, functionality to do so > would be nice. > Proposed syntax: > ALTER DATABASE dbname RENAME TO newdbname; -- This message was sent by Atlassian JIRA (v6.3.4#6332)