GitHub user mgaido91 opened a pull request:
https://github.com/apache/zeppelin/pull/2664
[ZEPPELIN-771] Escape tab and CR when the result is shown in table
### What is this PR for?
The presence of the characters `\t` and `'n` in the data to be displayed
can cause the failure of successfully displaying a table. Indeed, these two
characters are used as separators in a table. Some interpreters, don't escape
the data to be shown.
This PR address the issue replacing the characters as previosly done for
some of the interpreters like geode.
### What type of PR is it?
Bug Fix
### Todos
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-771
### How should this be tested?
added UTs
### Screenshots (if appropriate)
I am not uploading the screenshot since I think it is not necessary to
understand the issue and the PR.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/zeppelin ZEPPELIN-771
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2664.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2664
----
commit 688c4817357a4b877cefc14482464d4d687e8474
Author: Marco Gaido <[email protected]>
Date: 2017-11-10T15:48:15Z
[ZEPPELIN-771] Escape tab and CR when the result is shown in table
----
---