[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

@ -222,7 +222,8 @@ int calc_timestampadd_expr(const ObExpr &expr, ObEvalCtx &ctx, ObDatum &res_datu
int64_t out_len = 0;
if (OB_FAIL(ob_datum_to_ob_time_with_date(*timestamp_datum,
expr.args_[2]->datum_meta_.type_,cvrt_ctx.tz_info_, ot,
get_cur_time(ctx.exec_ctx_.get_physical_plan_ctx()), false, 0))) {
get_cur_time(ctx.exec_ctx_.get_physical_plan_ctx()), false, 0,
expr.args_[2]->obj_meta_.has_lob_header()))) {
LOG_WARN("cast to ob time failed", K(ret), K(*timestamp_datum));
} else if (OB_FAIL(ObTimeConverter::ob_time_to_datetime(ot, cvrt_ctx, ts))) {
LOG_WARN("ob time to datetime failed", K(ret));