-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
*: add builtin aggregate function json_objectagg
#11154
Conversation
|
@hg2990656 Thanks for your contribution, please follow the Contribution Guide to add a proper PR title. |
@hg2990656 friendly ping, any update? |
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
@hg2990656 Hi, it has been a long time since the PR is filed. Any update to fix the CI failure? |
json_objectagg
The problem is that the json_objectagg aggregate function is not defined in now parser.I have added it in the another PR of parser and I am modifying it, so whether if the parser is updated in the master, then this CI can be no problem |
Codecov Report
@@ Coverage Diff @@
## master #11154 +/- ##
===========================================
Coverage ? 80.9743%
===========================================
Files ? 422
Lines ? 89763
Branches ? 0
===========================================
Hits ? 72685
Misses ? 11819
Partials ? 5259 |
37d0542
to
860dbc7
Compare
Because json_objectagg has two arguments, but the aggfunc_test only support one argument aggfunc now, so I add some functions to test json_objectagg according to now test methods.I am not sure whether it's right for you, if it's all right, I can merge it to origin function to support both single and multiple arguments aggfuncs. |
1230030
to
6c71a23
Compare
@zz-jason |
6e0cd0f
to
6133719
Compare
6133719
to
cb75518
Compare
Friendly ping, please solve the CI problem:
|
This problem seems to be not relative to this aggregate function.What's the error? |
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
Your auto merge job has been accepted, waiting for 14611 |
@hg2990656 Thanks for your contribution!! This is our Slack Channel about TiDB Execution Engine, on this channel you can discuss anything about TiDB's Execution Engine. |
/run-all-tests |
What problem does this PR solve?
#7623
What is changed and how it works?
add an json_objectagg function
Test
Related changes