Apache钻取错误索引超出范围

时间:2017-07-01 22:19:35

标签: hive hortonworks-data-platform apache-drill

我使用apache执行查询,在相对较小的集群(4个节点,16GB)中钻取100GB数据集。当我尝试运行某个查询时,它会给我以下错误:

  

错误:SYSTEM ERROR:IndexOutOfBoundsException:index:88,length:4   (预期:范围(0,64))。

我使用标准的TPCH-H数据模型,错误发生在查询12中。当我使用较小的数据集时,相同的查询成功运行。有人可能会为此发生一些消化吗?

查询:

select
    l_shipmode,
    sum(case
        when o_orderpriority = '1-URGENT'
            or o_orderpriority = '2-HIGH'
            then 1
        else 0
    end) as high_line_count,
    sum(case
        when o_orderpriority <> '1-URGENT'
            and o_orderpriority <> '2-HIGH'
            then 1
        else 0
    end) as low_line_count
from
    pq_orders,
    pq_lineitem
where
    o_orderkey = l_orderkey
    and l_shipmode in ('REG AIR', 'MAIL')
    and l_commitdate < l_receiptdate
    and l_shipdate < l_commitdate
    and l_receiptdate >= '1995-01-01'
    and l_receiptdate < '1996-01-01'
group by
    l_shipmode
order by
    l_shipmode;

0 个答案:

没有答案