[
https://issues.apache.org/jira/browse/SPARK-11716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018702#comment-15018702
]
Apache Spark commented on SPARK-11716:
--------------------------------------
User 'yhuai' has created a pull request for this issue:
https://github.com/apache/spark/pull/9868
> UDFRegistration Drops Input Type Information
> --------------------------------------------
>
> Key: SPARK-11716
> URL: https://issues.apache.org/jira/browse/SPARK-11716
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.5.1
> Reporter: Artjom Metro
> Labels: sql, udf
>
> The UserDefinedFunction returned by the UDFRegistration does not contain the
> input type information, although that information is available.
> To fix the issue the last line of every register function would had to be
> changed to "UserDefinedFunction(func, dataType, inputType)" or is there any
> specific reason this was not done?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]