向量化join为什么要求左侧算子为nullable #17171
big-doudou
started this conversation in
General
Replies: 1 comment 3 replies
-
It would be better if you sent out your table DDL. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
doris版本:1.1.2
执行以下sql会出错:
1105 - errCode = 2, detailMessage = errCode = 2, detailMessage = errCode = 2, detailMessage = The slot (SlotDescriptor{id=15, parent=11, col=join_key, type=TINYINT, materialized=false, byteSize=0, byteOffset=-1, nullIndicatorByte=0, nullIndicatorBit=0, slotIdx=0}) could not be changed to nullable, Time: 0.024000s
SELECT * from
(select 1 as join_key from test where id in (SELECT id from dim where create_date in (SELECT max(create_date) from dim)))t1
LEFT JOIN
(select 1 as join_key from test where id in (SELECT id from dim where create_date in (SELECT max(create_date) from dim)))t2
on t1.join_key=t2.join_key
LEFT JOIN
(select 1 as join_key from test where id in (SELECT id from dim where create_date in (SELECT max(create_date) from dim)))t3
on t1.join_key=t3.join_key
我不确定这是否是一个bug
另外下面的pr,为什么要求列为nullable
#9954
Beta Was this translation helpful? Give feedback.
All reactions