GitHub user AndrewKL opened a pull request:
https://github.com/apache/spark/pull/22162
[spark-24442][SQL] Added parameters to control the default number of â¦
â¦records shown and the truncate length when a user calls .show() on a
dataframe
## What changes were proposed in this pull request?
https://issues.apache.org/jira/browse/SPARK-24442
## How was this patch tested?
Unit tests plus local testing. This change is designed to not modify
default behavior unless a user set the following configs...
"spark.sql.show.defaultNumRows" ->default 20 (as it was before)
"spark.sql.show.truncateMaxCharsPerColumn" -> default 30 (as it was before)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/AndrewKL/spark spark-24442
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22162.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 #22162
----
commit ed5991e53fe404b972c5a0a79febdd0398182cf6
Author: Long <loandrew@...>
Date: 2018-08-20T21:19:52Z
[spark-24442][SQL] Added parameters to control the default number of
records shown and the truncate length when a user calls .show() on a dataframe
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]