[ 
https://issues.apache.org/jira/browse/SPARK-20067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-20067:
------------------------------------

    Assignee: Apache Spark  (was: Xiao Li)

> Use treeString to print out the table schema for CatalogTable
> -------------------------------------------------------------
>
>                 Key: SPARK-20067
>                 URL: https://issues.apache.org/jira/browse/SPARK-20067
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Xiao Li
>            Assignee: Apache Spark
>
> Currently, we are using {{sql}} to print the schema. To make the schema more 
> readable, we should use {{treeString}}, like what we did in Dataset API 
> {{printSchema}}
> Below is the current way:
> {noformat}
> Schema: STRUCT<`a`: STRING (nullable = true), `b`: INT (nullable = true), 
> `c`: STRING (nullable = true), `d`: STRING (nullable = true)>
> {noformat}
> After the change, it should look like
> {noformat}
> Schema: root
>  |-- a: string (nullable = true)
>  |-- b: integer (nullable = true)
>  |-- c: string (nullable = true)
>  |-- d: string (nullable = true)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to