bugfix : blob in xml must be xmlbinary & xml generate col can not with clob & some agg cannot exe with json/xml/clob
This commit is contained in:
@ -1960,7 +1960,12 @@ int ObRawExprDeduceType::check_group_aggr_param(ObAggFunRawExpr &expr)
|
||||
|| ob_is_user_defined_sql_type(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_ORA_XMLAGG != expr.get_expr_type()))
|
||||
&& T_FUN_ORA_XMLAGG != expr.get_expr_type()
|
||||
&& T_FUN_GROUP_CUME_DIST != expr.get_expr_type()
|
||||
&& T_FUN_GROUP_DENSE_RANK != expr.get_expr_type()
|
||||
&& T_FUN_GROUP_CONCAT != expr.get_expr_type()
|
||||
&& T_FUN_GROUP_PERCENT_RANK != expr.get_expr_type()
|
||||
&& T_FUN_GROUP_RANK != expr.get_expr_type()))
|
||||
&& !(T_FUN_COUNT == expr.get_expr_type() && ob_is_json(param_expr->get_data_type()))
|
||||
&& !(T_FUN_COUNT == expr.get_expr_type() && (ob_is_user_defined_sql_type(param_expr->get_data_type()) ||
|
||||
ob_is_user_defined_pl_type(param_expr->get_data_type())))
|
||||
|
||||
Reference in New Issue
Block a user