-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support more json builtin function #105
Conversation
LGTM |
Hi, @Kingwl |
@XuHuaiyu |
proto/expression.proto
Outdated
@@ -415,7 +416,8 @@ enum ScalarFuncSig { | |||
JsonStorageSizeSig = 5021; | |||
JsonDepthSig = 5022; | |||
JsonKeysSig = 5023; | |||
JsonLengthSig = 5024; | |||
JsonKeys2ArgsSig = 5024; | |||
JsonLengthSig = 5025; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we change the code number, there will be a compatibility issue.
holy shit, |
@@ -416,6 +418,7 @@ enum ScalarFuncSig { | |||
JsonDepthSig = 5022; | |||
JsonKeysSig = 5023; | |||
JsonLengthSig = 5024; | |||
JsonKeys2ArgsSig = 5025; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
pingcap/tidb#7546
json_keys
json_arrayagg
json_objectagg