Skip to content

fread drop= last column when last field is quoted and contains sep too - #2470

Merged
mattdowle merged 2 commits into
masterfrom
fread
Nov 8, 2017
Merged

mattdowle merged 2 commits into
masterfrom
fread

Conversation

@mattdowle

@mattdowle mattdowle commented Nov 8, 2017 •

Copy link
Copy Markdown
Member

Closes #2464
Adds 9 tests with variations including abrupt ending after final quote (finalByte=='"').
I was tempted to add more && ch==eof (or similar) in this PR in the cold or tepid sections but will delay until we have tests for embedded '\0' (i.e. before the final *eof=='\0').

@mattdowle mattdowle added this to the v1.10.6 milestone Nov 8, 2017
@codecov-io

codecov-io commented Nov 8, 2017 •

Copy link
Copy Markdown

Codecov Report

Merging #2470 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2470      +/-   ##
==========================================
+ Coverage   91.58%   91.59%   +<.01%     
==========================================
  Files          63       63              
  Lines       12029    12031       +2     
==========================================
+ Hits        11017    11020       +3     
+ Misses       1012     1011       -1
Impacted Files Coverage Δ
src/fread.c 96.3% <100%> (+0.09%) ⬆️

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 7db217b...4784d1f. Read the comment docs.

@mattdowle
mattdowle requested a review from st-pasha November 8, 2017 21:28
@mattdowle
mattdowle merged commit 1b8e886 into master Nov 8, 2017
@mattdowle
mattdowle deleted the fread branch November 8, 2017 21:42
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