Conversation
The current NEWLINE behavior of reading as much CR/LF as possible basically means empty rows are/should be ignored. This fixes the issue of pushing an empty row that can occur when the data chunk ends in the middle of such a CR/LF stream (either because of a block of empty lines or if you are unlucky because the chunk ended right in the middle of a Windows CRLF endline)
e873d3e to
78b048b
Compare
|
Adding an explicit option And to me, |
That's a valid concern. I'd like to see if there's a way to handle both Linux |

The current NEWLINE behavior of reading as much CR/LF as possible basically means empty rows are/should be ignored.
This fixes the issue of pushing an empty row that can occur when the data chunk ends in the middle of such a CR/LF stream. This can happen more or less artificially with with a block of empty lines or because the chunk ended right in the middle of a Windows CRLF endline (yes I was very unlucky, the data in my 10Mo+ file aligned just the wrong way).
Side note: I'm not very fond of the "ignore all empty rows" behavior, but that's another topic. Here I assumed the behavior is intended by design, or at least should be consistent in every cases.