-
Notifications
You must be signed in to change notification settings - Fork 688
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
json-functions: Update status and links (#8762) #9019
json-functions: Update status and links (#8762) #9019
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
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.
v5.1.3
sql> SELECT JSON_MERGE_PATCH('[1, 2]', '[true, false]') a, JSON_PRETTY('{}') b, (SELECT JSON_ARRAYAGG(x) FROM (SELECT 'a' x UNION ALL SELECT 'b') a) c, tidb_version()\G
ERROR: 1305 (42000): FUNCTION JSON_MERGE_PATCH does not exist
sql> SELECT JSON_PRETTY('{}') b, (SELECT JSON_ARRAYAGG(x) FROM (SELECT 'a' x UNION ALL SELECT 'b') a) c, tidb_version()\G
ERROR: 1105 (HY000): unsupported agg function: json_arrayagg
sql> SELECT JSON_PRETTY('{}') b, tidb_version()\G
*************************** 1. row ***************************
b: {}
tidb_version(): Release Version: v5.1.3
Edition: Community
Git Commit Hash: dc079337ef0c9d78eec2d2acb1eb31e12117d29b
Git Branch: heads/refs/tags/v5.1.3
UTC Build Time: 2021-11-26 01:30:03
GoVersion: go1.16.4
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
1 row in set (0.0012 sec)
/merge |
/remove status LGT1 |
This pull request has been accepted and is ready to merge. Commit hash: 0ca231f
|
This is an automated cherry-pick of #8762
What is changed, added or deleted? (Required)
Update the status of JSON functions in TiDB
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions.
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?