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

Reynold Xin commented on SPARK-12398:
-------------------------------------

Go for it.


> Smart truncation of DataFrame / Dataset toString
> ------------------------------------------------
>
>                 Key: SPARK-12398
>                 URL: https://issues.apache.org/jira/browse/SPARK-12398
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Reynold Xin
>              Labels: starter
>
> When a DataFrame or Dataset has a long schema, we should intelligently 
> truncate to avoid flooding the screen with unreadable information.
> {code}
> // Standard output
> [a: int, b: int]
> // Truncate many top level fields
> [a: int, b, string ... 10 more fields]
> // Truncate long inner structs
> [a: struct<a: Int ... 10 more fields>]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to