Reynold Xin created SPARK-12398:
-----------------------------------

             Summary: 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


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

Reply via email to