[Bug] [Vectorized] code dump on aggregate node over union node (#10040)
* miss check passthrough on vectorized * format and add test * update
This commit is contained in:
@ -284,9 +284,16 @@ public abstract class SetOperationNode extends PlanNode {
|
||||
return false;
|
||||
}
|
||||
if (VectorizedUtil.isVectorized()) {
|
||||
// On vectorized engine, we have more chance to do passthrough.
|
||||
if (childSlotRef.getDesc().getSlotOffset() != setOpSlotRef.getDesc().getSlotOffset()) {
|
||||
return false;
|
||||
}
|
||||
if (childSlotRef.isNullable() != setOpSlotRef.isNullable()) {
|
||||
return false;
|
||||
}
|
||||
if (childSlotRef.getDesc().getType() != setOpSlotRef.getDesc().getType()) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!childSlotRef.getDesc().layoutEquals(setOpSlotRef.getDesc())) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user