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/03/04 09:20:00 UTC
[jira] [Created] (SPARK-31036) Use stringArgs in
Expression.toString to respect hidden parameters
Hyukjin Kwon created SPARK-31036:
------------------------------------
Summary: Use stringArgs in Expression.toString to respect hidden parameters
Key: SPARK-31036
URL: https://issues.apache.org/jira/browse/SPARK-31036
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.0.0
Reporter: Hyukjin Kwon
Currently, the top of https://github.com/apache/spark/pull/27657,
{code}
val identify = udf((input: Seq[Int]) => input)
spark.range(10).select(identify(array("id"))).show()
{code}
shows hidden parameter `useStringTypeWhenEmpty`.
{code}
+---------------------+
|UDF(array(id, false))|
+---------------------+
| [0]|
| [1]|
...
{code}
This is a general problem and we should respect hidden parameters.
--
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