You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2015/10/23 19:54:27 UTC

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

Davies Liu created SPARK-11288:
----------------------------------

             Summary: 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
            Reporter: Davies Liu


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
(v6.3.4#6332)

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