Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support For SQL Window Functions #408
Please add support for ROW_NUMBER() OVER (PARTITION BY foo ORDER BY Date) using QueryDSL.
Windows functions are ANSI standard now and work on most databases.
It would also be nice if QueryDSL supported additional window functions like rank() as well
Window Functions in SQL
Yes, it's similar to jOOQ, but there are not many reasonable alternatives. I considered also the reverse order
which would be more in line with the Querydsl query order, but I guess for expressions the normal order makes more sense.
Also it makes more sense to keep it fluent than to put partitionBy(...) into the over invocation as an argument.