fix:json table syntax compatible and error clause hehavior

This commit is contained in:
obdev
2023-02-24 15:54:30 +00:00
committed by ob-robot
parent 925c98fcc4
commit e5e94972ef
9 changed files with 88 additions and 24 deletions

View File

@ -1397,8 +1397,8 @@ int JtColNode::set_val_on_empty(JtScanCtx* ctx, bool& need_cast_res)
break;
}
case JSN_QUERY_EMPTY: {
iter_ = curr_ = nullptr;
is_null_result_ = true;
iter_ = curr_ = ObJsonTableOp::get_js_array();
is_null_result_ = false;
break;
}
case JSN_QUERY_EMPTY_ARRAY: {