Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rust] [DataFusion] Add support for generic return types of scalar UDFs #25808

Closed
asfimport opened this issue Aug 16, 2020 · 2 comments
Closed
Assignees

Comments

@asfimport
Copy link

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.

Reporter: Jorge Leitão / @jorgecarleitao
Assignee: Jorge Leitão / @jorgecarleitao

PRs and other links:

Note: This issue was originally created as ARROW-9756. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Neal Richardson / @nealrichardson:
@jorgecarleitao this is pretty stale and presumably you've duplicated this issue to arrow-rs and/or already resolved it, right?

@asfimport
Copy link
Author

Jorge Leitão / @jorgecarleitao:
yes, it already merged and got lost in the migration. Thanks for closing it. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants