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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Akash R Nilugal (Jira)
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)