fix(flink): #455 fix json functions' params problem in flink #459
+4,141
−2,605
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修复问题
#455
修改内容
JSON_VALUE函数的参数JSON_VALUE(jsonValue, path [ RETURNING type ] [ { ERROR | NULL | DEFAULT expr } ON EMPTY ] [ { ERROR | NULL | DEFAULT expr } ON ERROR ] )JSON_QUERY函数的参数JSON_QUERY(jsonValue, path [ { WITHOUT [ ARRAY ] | WITH [ CONDITIONAL | UNCONDITIONAL ] [ ARRAY ] } WRAPPER ] [ { ERROR | NULL | EMPTY ARRAY | EMPTY OBJECT } ON EMPTY ] [ { ERROR | NULL | EMPTY ARRAY | EMPTY OBJECT } ON ERROR ] )JSON_OBJECT函数的参数JSON_OBJECT([[KEY] key VALUE value]* [ { NULL | ABSENT } ON NULL ])JSON_ARRAY函数的参数JSON_ARRAY([value]* [ { NULL | ABSENT } ON NULL ])参考链接
注意点
JSON_OBJECT()ERRORCONDITIONAL等字符未作为关键字引入,此次修改也没有单独引入,以免导致关键字无限累加和影响用户自定义命名使用,这些字符全用uid代替