issue/47447330 forbid count(lob)
This commit is contained in:
		| @ -1941,8 +1941,8 @@ int ObRawExprDeduceType::check_group_aggr_param(ObAggFunRawExpr &expr) | |||||||
|                         || ob_is_lob_locator(param_expr->get_data_type()) |                         || ob_is_lob_locator(param_expr->get_data_type()) | ||||||
|                         || ob_is_json(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_OBJECTAGG != expr.get_expr_type() | ||||||
|                         && T_FUN_ORA_JSON_ARRAYAGG != expr.get_expr_type() |                         && T_FUN_ORA_JSON_ARRAYAGG != expr.get_expr_type())) | ||||||
|                         && T_FUN_COUNT != 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_MEDIAN != expr.get_expr_type() | ||||||
|                 && T_FUN_GROUP_PERCENTILE_CONT != expr.get_expr_type() |                 && T_FUN_GROUP_PERCENTILE_CONT != expr.get_expr_type() | ||||||
|                 && T_FUN_GROUP_PERCENTILE_DISC != expr.get_expr_type() |                 && T_FUN_GROUP_PERCENTILE_DISC != expr.get_expr_type() | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 obdev
					obdev