Closed melton1968 closed 1 month ago
Yes it should. The warning is probably because of the trailing comma after every row.
Added some unit tests and verified that embedded newline handling works, even when the last row is empty.
With that being said, my experience with PostgreSQL and it's COPY TO CSV function is that it works very well and does not produce empty columns at the end.
Closing as I'm not sure what there is to fix.
I am loading a csv file produced by PostgreSQL. Some of the fields have embedded newlines:
Should the parser handle this case?
It complains that the row has to few columns.