You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when a JsonProcessingException is thrown when parsing CSV with a missing closing quote, the reported location of the column where the error occurred is incorrect. For example,
The row number is correct, but the column number is not (there aren't even 68 characters in the entire CSV). I would expect the column number to be more like 30.
The text was updated successfully, but these errors were encountered:
RafeArnold
changed the title
Fix incorrect location of CSV errors
Incorrect location of CSV errors
Jul 24, 2024
I think it should be possible to improve things: totally out of range column may be easy to fix. There are some challenges wrt fully accurate location due to way tokenization is done (it's not quite as incremental as, say, JSON decoding), but it should at least be possible to improve accuracy.
Currently, when a JsonProcessingException is thrown when parsing CSV with a missing closing quote, the reported location of the column where the error occurred is incorrect. For example,
will output
The row number is correct, but the column number is not (there aren't even 68 characters in the entire CSV). I would expect the column number to be more like 30.
The text was updated successfully, but these errors were encountered: