[
https://issues.apache.org/jira/browse/ARROW-9447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17157021#comment-17157021
]
Jorge edited comment on ARROW-9447 at 7/13/20, 11:00 PM:
---------------------------------------------------------
The background of this feature is that, with this PR in place, I was able to
run a Python lambda within data-fusion as a ScalarUDF, [this
line](https://github.com/jorgecarleitao/datafusion-python/blob/bb4f8a6e4039a7ff6a048a70c7822454abc341de/tests/test_sql.py#L94).
was (Author: jorgecarleitao):
The background of this PR is that, with this PR in place, I was able to run a
Python lambda within data-fusion as a ScalarUDF, [this
line](https://github.com/jorgecarleitao/datafusion-python/blob/bb4f8a6e4039a7ff6a048a70c7822454abc341de/tests/test_sql.py#L94).
> [Rust][DataFusion] Allow closures as ScalarUDFs
> -----------------------------------------------
>
> Key: ARROW-9447
> URL: https://issues.apache.org/jira/browse/ARROW-9447
> Project: Apache Arrow
> Issue Type: New Feature
> Components: Rust - DataFusion
> Reporter: Jorge
> Assignee: Jorge
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently the ScalarUDF requires to be a function. However, most applications
> would prefer to declare a UDF as a closure.
> Let's add support for this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)