-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add Table Functions to FFI Crate #15581
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
Conversation
ca6cf45
to
7681029
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me -- thank you @timsaucer
datafusion/ffi/tests/ffi_udtf.rs
Outdated
|
||
/// This test validates nullary input UDFs | ||
#[tokio::test] | ||
async fn test_nullary_scalar_udf() -> Result<()> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A test for nullary udfs seems out of place with tests for user defined table functions -- is this maybe a copy/paste error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to handle this comment on this PR @timsaucer or shall we merge the PR and handle it later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, should be good to go now.
Merged up from main to get a clean CI run (hopefully) |
I’ll resolve those clippy warnings next time I’m at my computer |
Very exciting -- thanks @timsaucer |
* Initial commit adding user defined table functions to FFI crate * Minor format change * Remove duplicate test * Remove unused imports --------- Co-authored-by: Andrew Lamb <[email protected]>
Which issue does this PR close?
This addresses part of #14562
Rationale for this change
We currently have support for user defined scalar functions. Aggregates and Windows are underway. This PR adds user defined table functions.
What changes are included in this PR?
Are these changes tested?
Yes, tests added to the PR.
Are there any user-facing changes?
None, but additional APIs are now available.