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/06 01:34:00 UTC

[jira] [Assigned] (SPARK-31036) Use stringArgs in Expression.toString to respect hidden parameters

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

Hyukjin Kwon reassigned SPARK-31036:
------------------------------------

    Assignee: Hyukjin Kwon

> 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
>            Assignee: Hyukjin Kwon
>            Priority: Minor
>
> 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