[CP] JSON bug fix

This commit is contained in:
obdev
2022-07-20 11:33:11 +08:00
committed by wangzelin.wzl
parent 1b88c27061
commit b96d7663b5
6 changed files with 18 additions and 11 deletions

View File

@ -679,8 +679,10 @@ int ObRawExprWrapEnumSet::visit(ObAggFunRawExpr& expr)
int ret = OB_SUCCESS;
if (expr.has_enum_set_column() && (T_FUN_GROUP_CONCAT == expr.get_expr_type() ||
T_FUN_MAX == expr.get_expr_type() ||
T_FUN_MIN == expr.get_expr_type())) {
const ObIArray<ObRawExpr*>& real_parm_exprs = expr.get_real_param_exprs();
T_FUN_MIN == expr.get_expr_type() ||
T_FUN_JSON_OBJECTAGG == expr.get_expr_type() ||
T_FUN_JSON_ARRAYAGG == expr.get_expr_type())) {
const ObIArray<ObRawExpr*> &real_parm_exprs = expr.get_real_param_exprs();
const bool is_same_need = false;
for (int64_t i = 0; OB_SUCC(ret) && i < real_parm_exprs.count(); ++i) {
ObRawExpr* real_param_expr = real_parm_exprs.at(i);