GitHub user nareshpr opened a pull request:
https://github.com/apache/incubator-carbondata/pull/675
[CARBONDATA-796]Drop database command clears all carbonfiles from
carbon.store/dbfolder
When user trigger drop database command, Carbon is deleted all the files
from <carbon.store>/database/ folder without check whether any file exist
eg., create database db1;
create table db1.test1(id int, name string) stored as 'carbondata';
drop database db1; --> This command clears all the files in
<carbon.store>/database/ folder.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nareshpr/incubator-carbondata dropdbcascade
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-carbondata/pull/675.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #675
----
commit 8bf6a62089d4c2618aa6575419ae46b3aad9f952
Author: nareshpr <[email protected]>
Date: 2017-03-20T09:48:30Z
drop database command clears all carbonfiles from carbon.store/dbfolder
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---