-
Notifications
You must be signed in to change notification settings - Fork 210
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
ORDER BY support #78
Comments
That's welcome at all, and I'm so pleased about your reportings. Let's simply rename this issue to "ORDER BY support"
|
ORDER BY is an outer cover only useful for the presentation of result. Look into the AST One can assume that the ordering mostly is on a subsets due to joins and where. The location of an order by is probably in I did an implementation of order by in the benchmark https://github.com/willy610/abcsql.git (Besides ORDER BY it holds a lot functionality) It's very similar when using
The
I think the |
Did you do it on the GlueSQL side? |
Hello
If you want to lock at how I did the ORDER BY
Look into the source of https://github.com/willy610/abcsql.git
You will find it in
src/abcsql/applic_folder/orderby.rs
( called from src/abcsql/applic_folder/go_exec.rs )
Hope this will contribute to some implementation
Kindly
willy
… On 2021-02-27, at 12:23, Kyran Gostelow ***@***.***> wrote:
@willy610
I did an implementation of order by in the benchmark https://github.com/willy610/abcsql.git
Did you do it on the GlueSQL side?
If so, could you share the code or put up a PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
-----------------------------
Willy Svenningsson
Johannas Vag 28
S-425 42 Hisings Karra
Sweden
+46 0768 22 20 26
willy@fager.st
|
@willy610 |
Hej,
Sorry for all issues. Not complaining. Love the SQL and in Rust!
But browsing into my swedish testdabase on recipes and it's categories
the output is not ordered on column 2.
(We have the same sort order in Swedish as in any Latin-1 countries)
"select * from category where categoryid > 50 order by 2;"
53 "Fläskkött" ""
54 "Vegetarisk" ""
55 "Pastej" ""
56 "Gratäng" ""
57 "Finskt" ""
58 "Kassler" ""
The text was updated successfully, but these errors were encountered: