You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2020/05/25 03:56:00 UTC
[jira] [Created] (SPARK-31808) Make struct function's output name
and class name pretty
Hyukjin Kwon created SPARK-31808:
------------------------------------
Summary: 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: Improvement
Components: SQL
Affects Versions: 3.0.0
Reporter: Hyukjin Kwon
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org