diff options
author | Prashant Sharma <prashsh1@in.ibm.com> | 2016-06-28 17:11:06 +0530 |
---|---|---|
committer | Prashant Sharma <prashsh1@in.ibm.com> | 2016-06-28 17:11:06 +0530 |
commit | f6b497fcdddc705a9e1022e20b0dbc15da1b5a5a (patch) | |
tree | b28b241100d7ec0cbd79b0e7b79ac3f0a98dae04 /bin/spark-submit | |
parent | 4cbf611c1dc88111ff49d005e902ad5864799ede (diff) | |
download | spark-f6b497fcdddc705a9e1022e20b0dbc15da1b5a5a.tar.gz spark-f6b497fcdddc705a9e1022e20b0dbc15da1b5a5a.tar.bz2 spark-f6b497fcdddc705a9e1022e20b0dbc15da1b5a5a.zip |
[SPARK-16128][SQL] Allow setting length of characters to be truncated to, in 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.
For SparkR and pyspark, existing tests and manual testing.
Author: Prashant Sharma <prashsh1@in.ibm.com>
Author: Prashant Sharma <prashant@apache.org>
Closes #13839 from ScrapCodes/add_truncateTo_DF.show.
Diffstat (limited to 'bin/spark-submit')
0 files changed, 0 insertions, 0 deletions