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

Add lines_to_check to allow configuring multithreaded parsing #737

Merged
merged 1 commit into from
Sep 5, 2020

Conversation

quinnj
Copy link
Member

@quinnj quinnj commented Sep 5, 2020

Fixes #721. When multithreaded parsing, we have to split up a file and
try to find the start of valid rows. By default, we've just been
checking 5 rows to ensure we found the start of a valid row; this PR
allows passing in a custom # of lines_to_check in case of problematic
files, usually ones with very large quoted text fields.

Fixes #721. When multithreaded parsing, we have to split up a file and
try to find the start of valid rows. By default, we've just been
checking 5 rows to ensure we found the start of a valid row; this PR
allows passing in a custom # of `lines_to_check` in case of problematic
files, usually ones with very large quoted text fields.
@codecov
Copy link

codecov bot commented Sep 5, 2020

Codecov Report

Merging #737 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #737   +/-   ##
=======================================
  Coverage   85.81%   85.81%           
=======================================
  Files          10       10           
  Lines        1938     1938           
=======================================
  Hits         1663     1663           
  Misses        275      275           
Impacted Files Coverage Δ
src/chunks.jl 100.00% <100.00%> (ø)
src/detection.jl 95.10% <100.00%> (ø)
src/file.jl 95.10% <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 102e67c...dee0b9e. Read the comment docs.

@quinnj quinnj merged commit 99e34cd into master Sep 5, 2020
@quinnj quinnj deleted the jq/lines_to_check branch September 5, 2020 14:18
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.

TaskFailedException only when threaded=true
1 participant