Skip to content
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

Invalid SQL on array fields #1

Closed
mroswell opened this issue Mar 21, 2021 · 2 comments
Closed

Invalid SQL on array fields #1

mroswell opened this issue Mar 21, 2021 · 2 comments
Labels
bug Something isn't working priority

Comments

@mroswell
Copy link
Owner

Screen Shot 2021-03-20 at 11 33 34 PM

Screen Shot 2021-03-20 at 11 36 06 PM

@mroswell mroswell added priority bug Something isn't working labels Mar 21, 2021
@mroswell
Copy link
Owner Author

Maybe something to do with sqlite json1 extension?

{
    "python": {
        "version": "3.9.2",
        "full": "3.9.2 (default, Feb 24 2021, 13:30:36) \n[Clang 12.0.0 (clang-1200.0.32.29)]"
    },
    "datasette": {
        "version": "0.55"
    },
    "asgi": "3.0",
    "uvicorn": "0.13.3",
    "sqlite": {
        "version": "3.34.0",
        "fts_versions": [
            "FTS5",
            "FTS4",
            "FTS3"
        ],
        "extensions": {
            "json1": null
        },
        "compile_options": [...]
      }
}

@simonw
Copy link

simonw commented Mar 27, 2021

The workaround here was to rename the columns to not have a space in them - but it turns out the bug is fixed in Datasette (but not released yet), see simonw/datasette#1239

@mroswell mroswell closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority
Projects
None yet
Development

No branches or pull requests

2 participants