Merge branch 'column_store'
Co-authored-by: wangt1xiuyi <13547954130@163.com> Co-authored-by: yangqise7en <877793735@qq.com> Co-authored-by: Zach41 <zach_41@163.com>
This commit is contained in:
@ -1552,6 +1552,17 @@ int ObTransformSimplifySubquery::simplify_select_items(ObDMLStmt *stmt,
|
||||
LOG_WARN("Simplify select list in EXISTS fails", K(ret));
|
||||
}
|
||||
}
|
||||
ObExprResType res_type;
|
||||
res_type.set_type(ObIntType);
|
||||
for(int64_t i = 0; OB_SUCC(ret) && i < subquery->get_select_item_size(); i++) {
|
||||
SelectItem &select_item = subquery->get_select_item(i);
|
||||
if(OB_ISNULL(select_item.expr_)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("unexpected null select expr", K(ret), K(select_item));
|
||||
} else {
|
||||
select_item.expr_->set_result_type(res_type);
|
||||
}
|
||||
}
|
||||
bool has_limit = false;
|
||||
bool add_limit_constraint = false;
|
||||
if (OB_FAIL(ret)){
|
||||
|
||||
Reference in New Issue
Block a user