[jira] [Created] (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] [Created] (CARBONDATA-4032) Drop partition command clean other partition dictionaries

Akash R Nilugal (Jira)
Xingjun Hao created CARBONDATA-4032:
---------------------------------------

             Summary: 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
             Fix For: 2.1.0


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)