Closed craigbrett17 closed 10 years ago
What kind of newlines are you using in your files? Could it be \r\n
?
Yes, they are. I tested your theory by changing my line endings to UNIX format and things work fine.
My CSV files are coming from SQL Server's BCP program. I believe I can do some kind of hocus pocus to make it use a format file to use UNIX line endings as opposed to standard Windows ones in the meantime. If the CSV reader could cope with Windows line endings that would be great.
It should work, but I have to re-check.
Most unfortunately, I'm not able to replicate this on the sample files, but I've got a small file (head of the big nodes file I'm actually importing with) on which it does work.
When I try and import this (with a mocked up rels file just to get things started) it fails with the following exception:
If I change int to string, it also fails, but stating that string is an unknown type. If I have no type at all at the end it works. It also works if I set batch_import.csv.quotes to true, but that setting freezes when trying to import my big dataset, so I set it to false.
It could be that I'm doing something wrong, but its eluding me if I am.