Drill Kudu 查询不支持 range + hash 多级分区。
Kudu 表:
CREATE TABLE test1 (
id int ,
name string,
value string,
prmary key(id, name)
),
PARTITION BY HASH (name) PARTITIONS 8,
PARTITION BY RANGE (id) (
PARTITION 0 <= VALUES < 10000,
PARTITION 10000 <= VALUES < 20000,
PARTITION 20000 <= VALUES < 30000,
PARTITION 30000 <= VALUES < 40000
);
然后将 20002 行插入 test1,但查询不支持。查询 sql : select count(1) kudu.table_name, result : **No result found.**