-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single row CSV: last value not parsed #4890
Comments
Cc: @tanmaykm |
Seems to be working fine on my setup. |
Note that tools like
I put the
|
Found the bug. Was there in my earlier setup as well. Shall push a fix shortly. |
readcsv fix col count when no newline. fixes #4890
Hi,
I just happened to find a weird behaviour of
readcsv
. Having a very long single line (1 row) file of comma separated values, I used the functionreadcsv()
to import it but the last value was not imported. Adding a carriage return or another comma at the end of the line makesreadcsv
behaving correctly.Examples:
file:
(where's the last "2"?)
file: (carriage return at the end of the line)
file: (comma at the end)
This happens also with string values but it doesn't happen when the file has multiple rows.
The text was updated successfully, but these errors were encountered: