You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Jorge (Jira)" <ji...@apache.org> on 2020/08/23 11:39:00 UTC
[jira] [Created] (ARROW-9835) [Rust] [DataFusion] Remove
FunctionMeta
Jorge created ARROW-9835:
----------------------------
Summary: [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
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)