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

Hyukjin Kwon updated SPARK-31808:
---------------------------------
    Issue Type: Bug  (was: Improvement)

> Make struct function's output name and class name pretty
> --------------------------------------------------------
>
>                 Key: SPARK-31808
>                 URL: https://issues.apache.org/jira/browse/SPARK-31808
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Hyukjin Kwon
>            Priority: Major
>         Attachments: Screen Shot 2020-05-25 at 12.54.41 PM.png
>
>
> {code}
> scala> sql("select struct(1)").show()
> +---------------------+
> |named_struct(col1, 1)|
> +---------------------+
> |                  [1]|
> +---------------------+
> {code}
> It should be:
> {code}
> scala> sql("select struct(1)").show()
> +---------+
> |struct(1)|
> +---------+
> |      [1]|
> +---------+
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to