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