我有两张桌子,我正试图join
与
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)
这不是很有帮助。每个表的字段类型相同。为什么会出现此错误?