-
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
executor: fix group_concat for cases like group_concat(123,null) #9921
Conversation
df69548
to
db00ce0
Compare
Codecov Report
@@ Coverage Diff @@
## master #9921 +/- ##
================================================
+ Coverage 77.2162% 77.2346% +0.0183%
================================================
Files 405 405
Lines 81668 81668
================================================
+ Hits 63061 63076 +15
- Misses 13911 13919 +8
+ Partials 4696 4673 -23 |
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
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
/run-all-tests |
Co-Authored-By: XuHuaiyu <[email protected]>
/run-all-tests |
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
What problem does this PR solve?
fix #9920
What is changed and how it works?
Make the behavior of group_concat be compatible with the MySQL manual:
Before this commit, we regard every argument as an item of the result of group_concat.
But actually, all the arguments value in one row should be regarded as one item. If any one of the arguments is null, the group_concat result of this row is null.
Check List
Tests
Code changes
Side effects
N/A
Related changes