[
https://issues.apache.org/jira/browse/ARROW-9756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17386273#comment-17386273
]
Jorge Leitão commented on ARROW-9756:
-------------------------------------
yes, it already merged and got lost in the migration. Thanks for closing it.
:+1:
> [Rust] [DataFusion] Add support for generic return types of scalar UDFs
> -----------------------------------------------------------------------
>
> Key: ARROW-9756
> URL: https://issues.apache.org/jira/browse/ARROW-9756
> Project: Apache Arrow
> Issue Type: New Feature
> Reporter: Jorge Leitão
> Assignee: Jorge Leitão
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Currently, we have math functions declared as UDFs that while they can be
> evaluated against float32 and float64, their return type is fixed (float64).
> This issue is about extending the UDF interface to support generic return
> types (a function), so that developers (us included), can register UDFs or
> variable return types.
> There is a small overhead in this, since evaluating types now requires a
> function call, however, IMO this is still very small when compared to
> anything, as we are talking about plans. We can always apply some caching if
> needed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)