[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

@ -15,6 +15,7 @@
#define OCEANBASE_SQL_OB_EXPR_IS_JSON_H_
#include "sql/engine/expr/ob_expr_operator.h"
#include "sql/engine/expr/ob_expr_lob_utils.h"
namespace oceanbase
{
@ -32,7 +33,7 @@ public:
static int get_is_json_option(const ObExpr &expr, ObEvalCtx &ctx, int64_t idx, uint8_t& is_json_mode);
static int check_is_json(const ObExpr &expr, ObEvalCtx &ctx,
const ObDatum &data, ObObjType type,
ObCollationType cs_type, ObArenaAllocator *allocator,
ObCollationType cs_type, ObArenaAllocator &allocator,
uint8_t strict_opt, uint8_t scalar_opt, uint8_t unique_opt,
bool check_for_is_json, ObDatum &res);
static int eval_is_json(const ObExpr &expr, ObEvalCtx &ctx, ObDatum &res);