[jira] [Resolved] (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] [Resolved] (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)

     [ https://issues.apache.org/jira/browse/CARBONDATA-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Venkata Ramana G resolved CARBONDATA-796.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0-incubating

> 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
>             Fix For: 1.1.0-incubating
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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)