-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Breaks on column called "Representative's Address" #43
Labels
bug
Something isn't working
Comments
Function: datasette-edit-schema/datasette_edit_schema/utils.py Lines 92 to 125 in 05a155e
|
Here's the bug:
Resulted in: select 'photo's' as label, "photo's" as value from col4), |
Another error:
|
datasette-edit-schema/datasette_edit_schema/utils.py Lines 54 to 89 in 05a155e
That generated SQL like this: select count(*) as _count,
count(distinct "Document ID") as 'distinct.Document ID',
count(distinct "Agency ID") as 'distinct.Agency ID',
count(distinct "Representative's Address") as 'distinct.Representative's Address'
from "lok-imd8-3w1z" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying this against a CSV exported from https://www.regulations.gov/bulkdownload I got an exception visiting
/-/edit-schema/data/tablename
- error was:One of the columns in the table was called
Representative's Address
and I think the'
broke it.The traceback highlighted
examples_for_columns
:https://datasette-cloud.sentry.io/issues/4380834663/?project=2050376&query=is%3Aunresolved&referrer=issue-stream&stream_index=0
The text was updated successfully, but these errors were encountered: