Data prep CSV parsing error needs to be more user friendly

Description

As a user, I want to be supported by the system. When I make an error, or there is a problem, I want to be informed in a way that is understandable and actionable.
Currently, when I try to parse a CSV file, and the directive is unsuccessful because of problems with the file, the following message is displayed.

Please change the message to:
CDAP is unable to correctly parse because of problems with <name of file>. Please check your data for inconsistencies and try again.

Release Notes

None

Attachments

2
  • 04 Dec 2018, 07:51 PM
  • 03 May 2017, 09:50 PM

Activity

Show:

Albert Shau August 13, 2019 at 8:54 PM

We can't add the line name or modify the message that comes back from the parsing library, but the exception name should be removed from the message.

Lea Cuniberti-Duran December 4, 2018 at 7:52 PM

It should be the big-grant-2012.csv data I uploaded. 

Albert Shau December 4, 2018 at 12:46 AM

Does anyone happen to have the file that caused this error?

NitinM May 9, 2017 at 7:55 PM

I don't add it.

e.getMessage

adds it. For error message I would have to check the test meaning do a string compare and change it. Would really really not recommend to do it. We need to have error codes for this to work correctly.

Lea Cuniberti-Duran May 5, 2017 at 7:52 PM

The only thing I would add to that message is a call to action to hint the user on what to do next: "check your data and try uploading again"

Cannot Reproduce
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Created May 3, 2017 at 9:50 PM
Updated September 5, 2019 at 1:19 PM
Resolved September 5, 2019 at 1:19 PM