You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ajantha Bhat (Jira)" <ji...@apache.org> on 2021/03/26 05:41:00 UTC

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

     [ 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)