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 2019/05/21 04:24:06 UTC

[jira] [Updated] (SPARK-11288) Specify the return type for UDF in Scala

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

Hyukjin Kwon updated SPARK-11288:
---------------------------------
    Labels: bulk-closed  (was: )

> Specify the return type for UDF in Scala
> ----------------------------------------
>
>                 Key: SPARK-11288
>                 URL: https://issues.apache.org/jira/browse/SPARK-11288
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>            Reporter: Davies Liu
>            Priority: Major
>              Labels: bulk-closed
>
> The return type is figured out from the function signature, maybe it's not that user want, for example, the default DecimalType is (38, 18), user may want (38, 0).
> The older deprecated one callUDF can do that, we should figure out  a way to support that.
> cc [~marmbrus]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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