4 / 4
Jul 2024

I am importing a fairly large csv file (230k documents) using Compass and end up with more than 6k missing. The logs seem fine.

I can open the same csv file in either Textmate or Apple Numbers and they both import the expected number of records.

I guess that their might be something in the data that is not acceptable to Compass, while being perfectly acceptable to Textmate and Numbers.

Any suggestions as to what I should be looking for in the data that causes this strange behavior?

Thanks.

I have bi-sected the initial file and now have a chunk of 15k initial docs which contain the 6k that are dropped. A bit more manageable, but I still do not see anything obvious in them.

I will take a look at the library before resuming the painstaking bisecting exercise.

In the end I used a workaround. Opened the cab file in Numbers, saved it as cab. The upload then worked. Apparently Numbers took care of the offending data.