[ 
https://issues.apache.org/jira/browse/SPARK-25770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167324#comment-17167324
 ] 

S Daniel Zafar commented on SPARK-25770:
----------------------------------------

[~adrian555], what would your preferred print look like?

> support SparkDataFrame pretty print
> -----------------------------------
>
>                 Key: SPARK-25770
>                 URL: https://issues.apache.org/jira/browse/SPARK-25770
>             Project: Spark
>          Issue Type: Improvement
>          Components: SparkR
>    Affects Versions: 2.3.0, 2.3.1, 2.3.2
>            Reporter: Weiqiang Zhuang
>            Priority: Minor
>
> This is for continuous discussion with a requirement added in 
> [https://github.com/apache/spark/pull/22455#discussion_r223197863.]
>  
> Summary:
> SparkDataFrame is a S4 object, `show()` is the default method to display the 
> data frame to screen output. Currently the output is simply in string format 
> returned by `showString()` call which pre-formats the data frame and displays 
> as a table. This lacks the flexibility to re-format the output with a more 
> user friendly and pretty fashion, as has been seen in 1) S3 object's 
> `print()` method allows to specify arguments like `quote` etc to control the 
> output; 2) external tools such as `Jupyter` R notebook implement their own 
> customized way of display.
>  
> This Jira aims to explore a feasible solution to improve the screen output 
> experience by both supporting a pretty print from with the SparkR package and 
> also offering a common hook for external tools to customize the display 
> function.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to