Uploading a text file should not show bytes in data prep

Description

The upload behavior in data prep had a regression in 4.3.0, where now even when you upload text files, they are read and shown as bytes (Non-displayable object). Users have to run two extra directives - set-charset and Explode to get the same behavior that they got in 4.2.0 without applying any directive.

This may require a fix both in the backend and the UI.

Release Notes

None

Activity

Show:
Edwin Elia
September 8, 2017, 5:40 PM

Were you ingesting the file through the File Browser? This error only happens when you actually upload the file. So from the side panel, click on the Upload section, then upload a file.

Bhooshan Mogal
September 9, 2017, 3:32 AM

, yup, like suggested, your screenshot shows that you used the File Browser (see the "File System" label above the file name). You have to choose the Upload option instead to repro

Vinisha Shah
September 9, 2017, 5:03 AM

Thanks I am able to reproduce it now.

Vinisha Shah
September 9, 2017, 9:02 AM

Discussed with . The fix is to change content type to application/data-prep in the request

Edwin Elia
September 9, 2017, 9:37 AM
Fixed

Assignee

Edwin Elia

Reporter

Bhooshan Mogal

Labels

Docs Impact

None

UX Impact

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Blocker