fix zerofill inheritance bug

This commit is contained in:
JinmaoLi 2024-12-12 12:44:41 +00:00 committed by ob-robot
parent 85a29f18fc
commit 317956e23e

View File

@ -2014,8 +2014,8 @@ int ObRawExprDeduceType::visit(ObAggFunRawExpr &expr)
result_precision += precision_increment;
}
result_type.set_precision(static_cast<ObPrecision>(result_precision));
result_type.unset_result_flag(ZEROFILL_FLAG);
}
result_type.unset_result_flag(ZEROFILL_FLAG);
expr.set_result_type(result_type);
ObObjTypeClass from_tc = expr.get_param_expr(0)->get_type_class();
//use fast path