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

tojsonl: fine-tune boolean inferencing #1643

Merged
merged 1 commit into from Mar 4, 2024

Conversation

jqnatividad
Copy link
Owner

  • add --no-boolean option to explicitly turn off bool inferencing
  • automatically turn off bool inferencing if there are only two records
  • eliminate bool infer false positives by matching "true", "false", "yes", "no", "t", "f" explicitly, and not just the first few chars.

resolves #1639

* add `--no-boolean` option to explicitly turn off bool inferencing
* automatically turn off bool inferencing if there are only two records
* eliminate bool infer false positives by matching "true", "false", "yes", "no", "t", "f" explicitly, and not just the first few chars.
@jqnatividad jqnatividad merged commit 72ca1f7 into master Mar 4, 2024
9 of 11 checks passed
@jqnatividad jqnatividad deleted the 1639-tojsonl-boolean-inferencing-tweaks branch March 30, 2024 11:46
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.

qsv tojson sometimes coerces non-boolean fields to true/false
1 participant