bugfix : json dot notation bugfix patch to master

This commit is contained in:
obdev
2024-02-08 17:32:07 +00:00
committed by ob-robot
parent 81e0cd0938
commit 90b7fe53bb
13 changed files with 342 additions and 244 deletions

View File

@ -5452,3 +5452,23 @@ int ObSQLUtils::print_identifier_require_quotes(ObCollationType collation_type,
}
return ret;
}
bool ObSQLUtils::check_json_expr(ObItemType type)
{
bool res = false;
switch(type) {
case T_FUN_SYS_JSON_ARRAY:
case T_FUN_SYS_JSON_OBJECT:
case T_FUN_ORA_JSON_ARRAYAGG:
case T_FUN_ORA_JSON_OBJECTAGG:
case T_FUN_SYS_JSON_QUERY:
case T_FUN_SYS_JSON_MERGE_PATCH: {
res = true;
break;
}
default : {
break;
}
}
return res;
}