bugfix : json table expr format json conflict with json type

This commit is contained in:
obdev
2023-03-02 21:12:02 +08:00
committed by ob-robot
parent 0cb49f4698
commit b2e064e9da
4 changed files with 16 additions and 6 deletions

View File

@ -1334,6 +1334,7 @@ int JtColNode::check_col_res_type(JtScanCtx* ctx)
} else {
if (ob_is_json_tc(obj_type)) {
ret = OB_ERR_USAGE_KEYWORD;
LOG_WARN("invalid usage of keyword EXISTS", K(ret));
} else {
ret = OB_ERR_NON_NUMERIC_CHARACTER_VALUE;
SET_COVER_ERROR(ctx, ret);