[
https://issues.apache.org/jira/browse/HIVE-21034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Voros updated HIVE-21034:
--------------------------------
Status: Patch Available (was: Open)
Attached patch #1. It adds the {{-dropAllDatabases}} option to schematool.
Supports {{-verbose}} and {{-dryRun}} and introduces the new {{-yes}} flag.
When invoked without {{-yes}} it will ask for confirmation on the command line.
The patch also fixes an NPE in the cases when schematool failed before parsing
the command line.
> Add option to schematool to drop Hive databases
> -----------------------------------------------
>
> Key: HIVE-21034
> URL: https://issues.apache.org/jira/browse/HIVE-21034
> Project: Hive
> Issue Type: Improvement
> Reporter: Daniel Voros
> Assignee: Daniel Voros
> Priority: Major
> Attachments: HIVE-21034.1.patch
>
>
> An option to remove all Hive managed data could be a useful addition to
> {{schematool}}.
> I propose to introduce a new flag {{-dropAllDatabases}} that would *drop all
> databases with CASCADE* to remove all data of managed tables.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)