Apache Drill Kudu查询不支持范围+哈希多级分区

时间:2019-03-06 10:58:57

标签: apache-drill apache-kudu

Drill Kudu query doesn't support range + hash multilevel partition

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:选择count(1)kudu.table_name,结果:**未找到结果。**

enter image description here

enter image description here

enter image description here

0 个答案:

没有答案