Andrew K Long created SPARK-24442:
-------------------------------------

             Summary: Add configuration parameter to adjust the numbers of 
records and the charters 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: Input/Output
    Affects Versions: 2.3.0, 2.2.0
            Reporter: Andrew K Long
             Fix For: 2.4.0


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to