[xml bugfix]xmltype column bugfix and space namespace error

This commit is contained in:
obdev
2023-06-28 06:48:15 +00:00
committed by ob-robot
parent 87d1f790f0
commit df0b652003
2 changed files with 11 additions and 4 deletions

View File

@ -6488,7 +6488,9 @@ int ObRawExprUtils::check_composite_cast(ObRawExpr *&expr, ObSchemaChecker &sche
}
} else if (ObExtendType == obj_type
&& OB_INVALID_ID != udt_id
&& src->get_expr_type() != T_QUESTIONMARK) {
&& !(src->get_expr_type() == T_QUESTIONMARK ||
(src->get_expr_type() == T_FUN_SYS_CAST
&& src->get_param_expr(0)->get_expr_type() == T_QUESTIONMARK))) {
if (ObNullType == src->get_result_type().get_type()) {
// do nothing
} else if (src->get_result_type().is_user_defined_sql_type()) {