[CP] Json bugfix: json column length and create view with json

This commit is contained in:
obdev
2022-08-22 15:55:22 +08:00
committed by wangyunlai.wyl
parent 811b538750
commit 97badd0075
17 changed files with 26 additions and 5 deletions

View File

@ -466,6 +466,11 @@ int ObRawExpr::postorder_replace(ObRawExprVisitor& visitor)
return ret;
}
bool ObRawExpr::is_json_expr() const
{
return (T_FUN_SYS_JSON_OBJECT <= get_expr_type() && get_expr_type() <= T_FUN_JSON_OBJECTAGG) ? true : false;
}
////////////////////////////////////////////////////////////////
ObRawExpr*& ObTerminalRawExpr::get_param_expr(int64_t index)
{