issue/47447330 forbid count(lob)

This commit is contained in:
obdev
2023-02-07 11:23:30 +08:00
committed by ob-robot
parent 4fc7a1b699
commit a684538066

View File

@ -1941,8 +1941,8 @@ int ObRawExprDeduceType::check_group_aggr_param(ObAggFunRawExpr &expr)
|| ob_is_lob_locator(param_expr->get_data_type())
|| ob_is_json(param_expr->get_data_type()))
&& (T_FUN_ORA_JSON_OBJECTAGG != expr.get_expr_type()
&& T_FUN_ORA_JSON_ARRAYAGG != expr.get_expr_type()
&& T_FUN_COUNT != expr.get_expr_type()))
&& T_FUN_ORA_JSON_ARRAYAGG != expr.get_expr_type()))
&& !(T_FUN_COUNT == expr.get_expr_type() && ob_is_json(param_expr->get_data_type()))
&& T_FUN_MEDIAN != expr.get_expr_type()
&& T_FUN_GROUP_PERCENTILE_CONT != expr.get_expr_type()
&& T_FUN_GROUP_PERCENTILE_DISC != expr.get_expr_type()