[
https://issues.apache.org/jira/browse/CARBONDATA-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kunal Kapoor updated CARBONDATA-4032:
-------------------------------------
Fix Version/s: (was: 2.1.0)
2.1.1
> 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.1
>
> 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)