clickhouse分区表操作分区表操作
分区表操作只有MergeTree引擎支持数据分区,区内排序,合并,去重create table tb_partition(id UInt8,name String,birthday DateTime)engine=MergeTree()partition by toDate(birthday)order by id;insert into tb_partition values(1,'xl',now()),(2,'ly','2021-08-27 17:44:30'),(3,'xf'