[jira] [Resolved] (CARBONDATA-4032) Drop partition command clean other partition dictionaries

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

[jira] [Resolved] (CARBONDATA-4032) Drop partition command clean other partition dictionaries

Akshay (Jira)

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

Ajantha Bhat resolved CARBONDATA-4032.
--------------------------------------
    Resolution: Fixed

> Drop partition command clean other partition dictionaries
> ---------------------------------------------------------
>
>                 Key: CARBONDATA-4032
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4032
>             Project: CarbonData
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.0.1
>            Reporter: Xingjun Hao
>            Priority: Critical
>             Fix For: 2.1.0
>
>          Time Spent: 5h 20m
>  Remaining Estimate: 0h
>
> 1. CREATE TABLE droppartition (id STRING, sales STRING) PARTITIONED BY (dtm STRING)STORED AS carbondata
> 2. insert into droppartition values ('01', '0', '20200907'),('03', '0', '20200908'),
> 3. insert overwrite table droppartition partition (dtm=20200908) select * from droppartition where dtm = 20200907;
> insert overwrite table droppartition partition (dtm=20200909) select * from droppartition where dtm = 20200907;
> 4. alter table droppartition drop partition (dtm=20200909)
> the dirctionary "20200908" was deleted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)