[
https://issues.apache.org/jira/browse/ARROW-9835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Grove resolved ARROW-9835.
-------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
Issue resolved by pull request 8030
[https://github.com/apache/arrow/pull/8030]
> [Rust] [DataFusion] Remove FunctionMeta
> ---------------------------------------
>
> Key: ARROW-9835
> URL: https://issues.apache.org/jira/browse/ARROW-9835
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust, Rust - DataFusion
> Reporter: Jorge
> Assignee: Jorge
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently, our code works as follows:
> 1. Declare a UDF via {{udf::ScalarFunction}}
> 2. Register the UDF
> 3. call {{scalar_function("name", vec![...], type)}} to use it during
> planning.
> However, during planning, we:
> 1. Get the ScalarFunction by name
> 2. convert it to FunctionMetadata
> 3. get the ScalarFunction associated with FunctionMetadata's name
> I.e. {{FunctionMetadata}} does not seem to be needed.
> Goal: remove {{FunctionMetadata}} and just pass {{udf::ScalarFunction}}
> directly from the registry to the physical plan.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)