-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
A simpler version of the query that I would like to write in Cube.Js is :
SELECT
con.id,
GROUP_CONCAT(t.title) FROM Contacts con LEFT JOIN Titles t on con.titleid = t.id;
Where I need to group only by con.id
Describe the solution you'd like
A clear and concise description of what you want to happen.
SELECT
con.id,
GROUP_CONCAT(t.title) FROM Contacts con LEFT JOIN Titles t on con.titleid = t.id GROUP BY con.id;
Additional context
Add any other context or screenshots about the feature request here.
The query generated by Cube Js is:
SELECT
con.id,
GROUP_CONCAT(t.title) FROM Contacts con LEFT JOIN Titles t on con.titleid = t.id GROUP BY 1, 2;
This gives an erroneous output