GitHub user benoyantony opened a pull request:
https://github.com/apache/zeppelin/pull/2201
[ZEPPELIN-1965] Livy SQL Interpreter: Should use df.show(1000, false)â¦
⦠to display results
### What is this PR for?
Livy SQL interpreter truncate result strings of size greater than 20. In
some cases, we like to see the full string. We are adding an interpreter
property zeppelin.livy.spark.sql.truncate to control whether to truncate
strings or not. By default, zeppelin.livy.spark.sql.truncate is set to true.
### What type of PR is it?
Improvement
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1965
### How should this be tested?
Set zeppelin.livy.spark.sql.truncate to true or false
Run a SQL query which produces string values of length greater than 20.
Depending on the value of zeppelin.livy.spark.sql.truncate, the strings
will either get truncated or not.
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benoyantony/zeppelin master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2201.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 #2201
----
commit 3a3a4e9ce01f4dc184175e1f22b77d7a3bb6b46b
Author: Benoy Antony <[email protected]>
Date: 2017-03-29T06:24:31Z
[ZEPPELIN-1965] Livy SQL Interpreter: Should use df.show(1000, false) to
display results
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---