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

Avoid ambiguity between user-provided UInt64 column type and PosLen #787

Merged
merged 1 commit into from
Nov 22, 2020

Conversation

quinnj
Copy link
Member

@quinnj quinnj commented Nov 22, 2020

Fixes #785 and alternative solution to #786. As opposed to the solution
in that PR, which caused other issues, in this PR, we change from
defining const PosLen = UInt64 to primitive type PosLen 64 end and
define a few helper conversions. This makes PosLen its own proper
type, and avoids the dispatch ambiguity of the original issue.

Fixes #785 and alternative solution to #786. As opposed to the solution
in that PR, which caused other issues, in this PR, we change from
defining `const PosLen = UInt64` to `primitive type PosLen 64 end` and
define a few helper conversions. This makes `PosLen` its own proper
type, and avoids the dispatch ambiguity of the original issue.
@codecov
Copy link

codecov bot commented Nov 22, 2020

Codecov Report

Merging #787 (7da816c) into master (055706d) will increase coverage by 0.07%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #787      +/-   ##
==========================================
+ Coverage   91.76%   91.84%   +0.07%     
==========================================
  Files           9        9              
  Lines        1798     1802       +4     
==========================================
+ Hits         1650     1655       +5     
+ Misses        148      147       -1     
Impacted Files Coverage Δ
src/utils.jl 88.00% <75.00%> (+0.66%) ⬆️

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 b57715f...7da816c. Read the comment docs.

@quinnj quinnj merged commit 00261df into master Nov 22, 2020
@quinnj quinnj deleted the jq/785.take2 branch November 22, 2020 06:07
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.

UInt64 column type is parsed incorrectly as strings
1 participant