[ 
https://issues.apache.org/jira/browse/ARROW-6947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17066754#comment-17066754
 ] 

Andy Grove commented on ARROW-6947:
-----------------------------------

Sorry for taking so long to get to this. I think it will be important for this 
to be more dynamic, where the function receives a batch of data or a vector of 
columns to operate on so we can have a function signature along the lines of:


{code:java}
trait ScalarFunction {
  fn evaluate(args: Vec<Array>) -> Result<Array>;
} {code}

> [Rust] [DataFusion] Add support for scalar UDFs
> -----------------------------------------------
>
>                 Key: ARROW-6947
>                 URL: https://issues.apache.org/jira/browse/ARROW-6947
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: Rust, Rust - DataFusion
>            Reporter: Andy Grove
>            Assignee: Andy Grove
>            Priority: Major
>
> As a user, I would like to be able to define my own functions and then use 
> them in SQL statements.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to