CSV Reader IndexOutOfBoundsException #996
-
Hi, Using version : 0.38.1 In a csv file, if one of the records is incorrect carrying additional delimiter at the end [ extra comma ] , then ColumnTypeDetector.detectColumnTypes is throwing IndexOutOfBoundsException without adding any additional information like row number. Whereas if there is a comma missing in any of the records inside a csv file, properly throwing below exception tech.tablesaw.io.AddCellToColumnException: Error while adding cell from row 2 and column email(position:0): Row number 2 contains 4 columns. 5 expected. I believe, it would be useful if the exception carries row number in either cases. That way, it will allow user an option to identify the problematic row and also to skip the same if required - Just a thought. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I opened an issue for this problem #998 |
Beta Was this translation helpful? Give feedback.
I opened an issue for this problem #998