Support Questions
Find answers, ask questions, and share your expertise

How to rename a hive database

New Contributor

Hello,

What is the best way to rename a hive database that contains managed tables, external tables, partitionned tables and views?

HDP version: 2.6

Best regards

Sidi

1 REPLY 1

Re: How to rename a hive database

Explorer

Hi @Sidi Mahmoud RHIL,

I searched for information about and found this:

Current Apache hive release doesn't support this feature. In the shared apache Hive Jira HIVE-4847, you can see this is a new feature and the patch is available but it is yet to be merged and tagged to a particular release. We can expect this feature in any of the later releases.