Hi everyone,

I've been seeing some odd behaviour in get_csv_row().

I have a csv file supplied by a client in which the final row has no
new-line or carriage return of any sort.  The file is being imported into
the triple store via the csv sponger.  All rows load correctly except for
the last row which is missing entirely.

If I add a new-line (\n) or carriage return (\r) to the last line of the
file and reload it, it then loads correctly.

Is this the expected behaviour of get_csv_row?  It doesn't seem to
recognise the last row terminated by an EOF.

Many thanks,
Peter Secomb
clearbluewater.com.au

Reply via email to