You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew K Long (JIRA)" <ji...@apache.org> on 2018/08/22 18:08:00 UTC
[jira] [Updated] (SPARK-24442) Add configuration parameter to
adjust the numbers of records and the characters per row before truncation
when a user runs.show()
[ https://issues.apache.org/jira/browse/SPARK-24442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew K Long updated SPARK-24442:
----------------------------------
Summary: Add configuration parameter to adjust the numbers of records and the characters per row before truncation when a user runs.show() (was: Add configuration parameter to adjust the numbers of records and the charters per row before truncation when a user runs.show())
> Add configuration parameter to adjust the numbers of records and the characters per row before truncation when a user runs.show()
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-24442
> URL: https://issues.apache.org/jira/browse/SPARK-24442
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.2.0, 2.3.0
> Reporter: Andrew K Long
> Priority: Minor
> Attachments: spark-adjustable-display-size.diff
>
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> Currently the number of characters displayed when a user runs the .show() function on a data frame is hard coded. The current default is too small when used with wider console widths. This fix will add two parameters.
>
> parameter: "spark.show.default.number.of.rows" default: "20"
> parameter: "spark.show.default.truncate.characters.per.column" default: "20"
>
> This change will be backwords compatible and will not break any existing functionality nor change the default display characteristics.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org