You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Teddy Choi (JIRA)" <ji...@apache.org> on 2013/08/11 17:37:47 UTC
[jira] [Updated] (HIVE-4847) add rename database functionality
[ https://issues.apache.org/jira/browse/HIVE-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Teddy Choi updated HIVE-4847:
-----------------------------
Attachment: HIVE-4847.1.patch.txt
The new rename database functionality moves the database directory on HDFS and changes its related metadata entities. Unit tests are also included.
> 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
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira