MapReduce服务 MRS-CLEAN FILES:示例
示例
添加carbon配置参数
carbon.clean.file.force.allowed = true
create table carbon01(a int,b string,c string) stored as carbondata;
insert into table carbon01 select 1,'a','aa';
insert into table carbon01 select 2,'b','bb';
delete from table carbon01 where segment.id in (0);
show segments for table carbon01;
CLEAN FILES FOR TABLE carbon01 options('force'='true');
show segments for table carbon01;
上述命令将从物理上删除所有DELETE SEGMENT命令删除的segment和合并后的旧的segment。
- MapReduce服务_什么是MapReduce服务_什么是HBase
- 分布式云原生集合示例_华为云分布式云原生_华为云UCS集合示例
- MapReduce服务_如何使用MapReduce服务_MRS集群客户端安装与使用
- MapReduce服务_什么是Hue_如何使用Hue
- MapReduce服务_什么是HetuEngine_如何使用HetuEngine
- MapReduce服务_什么是Kafka_如何使用Kafka
- MapReduce服务_什么是HDFS_HDFS特性
- MapReduce服务_什么是ZooKeeper_如何使用ZooKeeper
- MapReduce服务_什么是ClickHouse_如何使用ClickHouse
- MapReduce服务_什么是Hive_如何使用Hive