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

#182 Type guessing fixes #186

Merged
merged 4 commits into from
Jan 29, 2024
Merged

Conversation

ThrawnCA
Copy link
Collaborator

@ThrawnCA ThrawnCA commented Apr 18, 2023

  • Fix fallback to 'str' type on columns that mix numeric and string.
  • Fix parsing of empty strings as 'numeric' or 'timestamp', by converting them to None.
  • Increase CSV sample size to ensure that quote characters are correctly guessed.

- Columns that used numeric on some rows and free text on others resulted in no type being guessed and an error
…#182

- 'timestamp' and 'numeric' cannot handle empty strings, so convert to None
- Messytables used to use 1000 rows, the Tabulator approach should do the same
@ThrawnCA ThrawnCA merged commit 1ee470a into ckan:master Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants