-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Compiler hangs when using SQLite, query_as! and GROUP BY #981
Comments
Can you run the following (in the EXPLAIN
SELECT DISTINCT Document AS name
FROM parts
ORDER BY Document EXPLAIN
SELECT Document AS name
FROM parts
GROUP BY name |
Sure @mehcode
|
abonander
changed the title
Compiler hangs when using SQLite, as_query! and GROUP BY
Compiler hangs when using SQLite, query_as! and GROUP BY
Jan 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On macOS.
Reproduction
# .env DATABASE_URL=sqlite:parts.db
Try running.
Observations
Removing the
GROUP BY
allows the program to compile.Another observation is that this works
But then adding an
ORDER BY
causes the never ending compile again.When the compiler stalls, I am still able to interact with my sqlite3 db (make queries etc.).
The text was updated successfully, but these errors were encountered: