Hive 配置单元上的内部联接生成IndexOutOfBound错误

Hive 配置单元上的内部联接生成IndexOutOfBound错误,hive,Hive,我有两个表正试图连接 drop table if exists test.thing_bid; create table if not exists test.thing_bid as select pq.nr, pq.id_l, sna.id_c, sna.num_total, pq.ref_month from stage.sna sna join stage.snapshot_monthly pq on (pq.nr = s

我有两个表正试图
连接

drop table if exists test.thing_bid;

create table if not exists test.thing_bid as
select
    pq.nr,
    pq.id_l,
    sna.id_c,
    sna.num_total,
    pq.ref_month
from
    stage.sna sna
join
    stage.snapshot_monthly pq
on
    (pq.nr = sna.ph and pq.ref_month = sna.ref_month)
但我得到了错误

Error: Error while compiling statement: FAILED: IndexOutOfBoundsException Index: 0, Size: 0 (state=42000,code=40000)

这不是很有帮助。每个表上的字段类型相同。为什么会发生此错误?

配置单元版本为0.14(如果有帮助的话)。sna或snapshot\u是否使用ORC文件格式?两者都是ORC格式。您可能需要在表中查找分隔符。您的表可能会因此而在某个地方损坏。您可以将源ORC更改为RC文件格式吗?这台飞机上有一个已知的臭虫。您也可以尝试使用拼花文件格式。它类似于ORC,性能也很好。配置单元版本为0.14(如果有帮助的话)。sna或snapshot\U是否使用ORC文件格式?两者都是ORC格式。您可能需要在表中查找分隔符。您的表可能会因此而在某个地方损坏。您可以将源ORC更改为RC文件格式吗?这台飞机上有一个已知的臭虫。您也可以尝试使用拼花文件格式。它与兽人很相似,性能也很好。