xml extendType adaptation

This commit is contained in:
wu-xingying
2023-06-06 07:18:57 +00:00
committed by ob-robot
parent 1a0e5a452a
commit f16a8319fc
6 changed files with 92 additions and 67 deletions

View File

@ -428,6 +428,14 @@ public:
const ObExprResType &dst_type,
const ObCastMode &cm,
ObRawExpr *&new_expr);
static int implict_cast_pl_udt_to_sql_udt(ObRawExprFactory *expr_factory,
const ObSQLSessionInfo *session,
ObRawExpr* &real_ref_expr);
static int implict_cast_sql_udt_to_pl_udt(ObRawExprFactory *expr_factory,
const ObSQLSessionInfo *session,
ObRawExpr* &real_ref_expr);
// new engine: may create more cast exprs to handle non-system-collation string.
// e.g.: utf16->number: utf16->utf8->number (two cast expr)
// utf8_bin->number: utf8->number (just one cat expr)