You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to be able to write syntax like SELECT DISTINCT col1, col2 FROM ... but since the introduction of DISTINCT ON I can only write SELECT DISTINCT ON (col1, col2) col1, col2 FROM ....
I would prefer to keep both syntaxes to not break migrations that were written before the DISTINCT ON syntax was introduced.
SQLDelight Version
2.0.2
SQLDelight Dialect
postgresql
Describe the Bug
I used to be able to write syntax like
SELECT DISTINCT col1, col2 FROM ...
but since the introduction ofDISTINCT ON
I can only writeSELECT DISTINCT ON (col1, col2) col1, col2 FROM ...
.I would prefer to keep both syntaxes to not break migrations that were written before the
DISTINCT ON
syntax was introduced.This is a followup from #4584 (comment)
Stacktrace
compile errors from the plugin of the form: `ON expected, got 'col1'`
The text was updated successfully, but these errors were encountered: