[FEAT MERGE] Lob SQL refactoring (Mem-LobLocator, expressions and dbms_lob adaptions)

Co-authored-by: chaser-ch <chaser.ch@antgroup.com>
This commit is contained in:
obdev
2023-01-28 20:40:15 +08:00
committed by ob-robot
parent 4bb1033505
commit 3d4f554258
350 changed files with 19091 additions and 3918 deletions

View File

@ -190,8 +190,8 @@ int ObExprInterval::cg_expr(ObExprCGCtx &expr_cg_ctx, const ObRawExpr &raw_expr,
// do not care NULL_FIRST or NULL_LAST, will ignore null in calc_interval_expr()
rt_expr.inner_functions_[0] = reinterpret_cast<void*>(
ObDatumFuncs::get_nullsafe_cmp_func(arg_type, arg_type, default_null_pos(),
CS_TYPE_BINARY,
rt_expr.args_[0]->datum_meta_.scale_, false));
CS_TYPE_BINARY, rt_expr.args_[0]->datum_meta_.scale_, false,
rt_expr.args_[0]->obj_meta_.has_lob_header()));
if (OB_ISNULL(rt_expr.inner_functions_[0])) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("cmp_func is NULL", K(ret), K(arg_type));