Re: [C++] [csv] Why do I keep getting the error - "CVS parser got out of sync with chunker"

2022-03-09 Thread HK Verma
Thanks Antione for the pointers. I switched to using io::BufferReader and that fixed the issue. Newline options also work fine. It is an extra copy for me, but for now I am good. On Wed, Mar 9, 2022 at 7:46 AM Antoine Pitrou wrote: > On Mon, 7 Mar 2022 11:52:02 -0800 > HK Verma wrote: > > >

Re: [C++] [csv] Why do I keep getting the error - "CVS parser got out of sync with chunker"

2022-03-09 Thread Antoine Pitrou
On Mon, 7 Mar 2022 11:52:02 -0800 HK Verma wrote: > Thanks Antoine. Yes I have newlines_in_values set to false. Other configs > also look ok. > However I do have rows with less number of columns than the specified > numbers in convert options in column types. I have my own > invalid_row_handler

Re: [C++] [csv] Why do I keep getting the error - "CVS parser got out of sync with chunker"

2022-03-07 Thread HK Verma
Thanks Antoine. Yes I have newlines_in_values set to false. Other configs also look ok. However I do have rows with less number of columns than the specified numbers in convert options in column types. I have my own invalid_row_handler where I currently skip these rows. It looks like the parser is