[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to