You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Xingjun Hao (Jira)" <ji...@apache.org> on 2020/10/13 17:15:00 UTC
[jira] [Created] (CARBONDATA-4032) Drop partition command clean
other partition dictionaries
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)