-
-
Notifications
You must be signed in to change notification settings - Fork 753
Update official datasetteproject/datasette Docker container to SQLite 3.26.0 #397
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
Comments
What version of SQLite are you seeing in Datasette? You can tell by hitting http://localhost:8001/-/versions - e.g. here: https://latest.datasette.io/-/versions My best guess is that your Python SQLite module is running an older version that doesn't support window functions. One way you can fix that is with the
That's using a fork of the official module that embeds a full recent SQLite. See this issue thread for more details: coleifer/pysqlite3#2 |
Oh I just saw you're using the official Datasette docker package - yeah, that's not bundled with a recent SQLite at the moment. We should update that: Lines 9 to 11 in 5b02611
|
If you pull the latest image you should get the right SQLite version now:
http://0.0.0.0:8001/-/versions now gives me:
|
I try to start datasette on a database that contains the below view
It fails in a way that makes me think it does not support the window functions SQL syntax.
The text was updated successfully, but these errors were encountered: