Replies: 1 comment
-
|
8951662#diff-689b6de89afb77817eed6149ab9f9b83eb8771caa4480216e830427299b6f7cd This issue will be resolved in the next version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
First of all, thank you for this amazing library – it’s truly incredible and very helpful in our projects.
I would like to report an issue related to the LimitBy feature when using ClickHouse.
Currently, the SQL being generated looks like this:
As you can see:
The LIMIT 1 BY clause is not being rendered correctly (it is missing the column name).
An ORDER BY a.LeadId is being appended automatically, because I used .LimitBy(x => x.LeadId, 1).
However, in my case I actually need to order by another column, so that ORDER BY should not be forced in the generated SQL.
The expected SQL output should simply be:
If the expression could be generated exactly in this form, it would solve the issue.
Thanks a lot for your support and for considering this improvement.
Best regards,
Gregory Jimenez from Colombia
Beta Was this translation helpful? Give feedback.
All reactions