-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Support sorting by aliased columns #2863
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
Labels
in: query-parser
Everything related to parsing JPQL or SQL
type: enhancement
A general enhancement
type: task
A general task
Milestone
Comments
This was referenced Mar 15, 2023
Anyway to do this in version 2? I think releasing this fix in SB3 forces people to deal with the migration hell (refactoring thousands of import from javax.* to jarkata,*, etc) to SB3. Not a very good look :/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: query-parser
Everything related to parsing JPQL or SQL
type: enhancement
A general enhancement
type: task
A general task
For queries where a column is an alias:
...when we have a
Sort.by("avg")
, it should NOT appendorder by p.avg
but instead simply haveorder by avg
.Essentially, anywhere we have an aliased column or value, that should be supported in the
order by
operations.The text was updated successfully, but these errors were encountered: