You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2021/07/23 14:44:00 UTC

[jira] [Closed] (ARROW-9756) [Rust] [DataFusion] Add support for generic return types of scalar UDFs

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

Neal Richardson closed ARROW-9756.
----------------------------------
    Resolution: Invalid

[~jorgecarleitao] this is pretty stale and presumably you've duplicated this issue to arrow-rs and/or already resolved it, right?

> [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)