You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Naresh P R (JIRA)" <ji...@apache.org> on 2017/03/20 09:44:41 UTC

[jira] [Created] (CARBONDATA-796) Drop database command is deleting all the carbon files from database folder even if the user does not provide cascade

Naresh P R created CARBONDATA-796:
-------------------------------------

             Summary: Drop database command is deleting all the carbon files from database folder even if the user does not provide cascade
                 Key: CARBONDATA-796
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-796
             Project: CarbonData
          Issue Type: Bug
            Reporter: Naresh P R
            Assignee: Naresh P R
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)