GitHub user ScrapCodes opened a pull request:
https://github.com/apache/spark/pull/13839
[SPARK-16128][SQL] Add truncateTo parameter to Dataset.show function.
## What changes were proposed in this pull request?
Allowing truncate to a specific number of character is convenient at times,
especially while operating from the REPL. Sometimes those last few characters
make all the difference, and showing everything brings in whole lot of noise.
## How was this patch tested?
Existing tests. + 1 new test in DataFrameSuite.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ScrapCodes/spark add_truncateTo_DF.show
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13839.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 #13839
----
commit d7f4e8d2dfa6caacaed51ebd0ca32f5eb30fb4fe
Author: Prashant Sharma <[email protected]>
Date: 2016-06-22T07:08:57Z
[SPARK-16128][SQL] Add truncateTo parameter to Dataset.show function.
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]