Skip to content
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

Bug Report: Group_concat with separator crashes vtgate during planning #16238

Closed
GuptaManan100 opened this issue Jun 20, 2024 · 0 comments · Fixed by #16237
Closed

Bug Report: Group_concat with separator crashes vtgate during planning #16238

GuptaManan100 opened this issue Jun 20, 2024 · 0 comments · Fixed by #16237

Comments

@GuptaManan100
Copy link
Member

Overview of the Issue

Running a query like -

select group_concat(t3.name SEPARATOR ', ') as "Group Name"
from t1
         join t2 on t1.id = t2.t1_id
         left join t3 on t1.id = t3.id
group by t1.id;

can crash the vtgate if all the three tables, t1, t2 and t3 are sharded on the id columns.

Reproduction Steps

Run the query in a sharded vitess cluster.

Binary Version

main

Operating System and Environment details

-

Log Fragments

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant