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

Allow turning off missing value parsing #865

Merged
merged 2 commits into from
Aug 4, 2021
Merged

Allow turning off missing value parsing #865

merged 2 commits into from
Aug 4, 2021

Conversation

quinnj
Copy link
Member

@quinnj quinnj commented Aug 4, 2021

Fixes #768. We can potentially allow passing missingstring per column,
but that seems like a more rare need than turning off missing value
parsing all together, which allows string columns to parse empty strings
correctly by default. The reason per column isn't quite as compelling is
that you can already pass a vector of missing string values to
missingstring to check any of the values for missing. So it would
only be the use-case of wanting to parse a missing string in one column
but not another where per-column missing strings would be useful.

quinnj added 2 commits August 4, 2021 11:13
Fixes #768. We can potentially allow passing `missingstring` per column,
but that seems like a more rare need than turning off missing value
parsing all together, which allows string columns to parse empty strings
correctly by default. The reason per column isn't quite as compelling is
that you can already pass a vector of missing string values to
`missingstring` to check any of the values for `missing`. So it would
only be the use-case of wanting to parse a missing string in one column
_but not_ another where per-column missing strings would be useful.
@codecov
Copy link

codecov bot commented Aug 4, 2021

Codecov Report

Merging #865 (b7a54d7) into main (cec2795) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #865   +/-   ##
=======================================
  Coverage   90.88%   90.88%           
=======================================
  Files           9        9           
  Lines        1898     1898           
=======================================
  Hits         1725     1725           
  Misses        173      173           
Impacted Files Coverage Δ
src/context.jl 87.86% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cec2795...b7a54d7. Read the comment docs.

@quinnj quinnj merged commit d462c35 into main Aug 4, 2021
@quinnj quinnj deleted the jq/nomissing branch August 4, 2021 18:53
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.

Allow per-column missing value specification
1 participant