Skip to content

feat: Add Window UDFs to FFI Crate #16261

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

Merged
merged 3 commits into from
Jun 5, 2025
Merged

Conversation

timsaucer
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

This is the last part of the FFI UDFs that remain. It builds on top of #14775 so this PR looks larger than it really is.

What changes are included in this PR?

  • Exposes window UDFs via FFI
  • Adds unit test and integration test

Are these changes tested?

Yes, including an end-to-end integration test.

Are there any user-facing changes?

None.

@github-actions github-actions bot added logical-expr Logical plan and expressions core Core DataFusion crate ffi Changes to the ffi crate labels Jun 5, 2025
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the last three commits in this PR quickly and I think it looks like a good path forward. I am likely not going to be able to catch subtle bugs but I think for a first version to get started it is good to go.

I'll plan to rebase this PR up once #14775 is merged and we'll get this one in too

@alamb
Copy link
Contributor

alamb commented Jun 5, 2025

I rebased this PR on main so it was ready to go

@alamb alamb force-pushed the feat/ffi-window-udf branch from 5ac7a7e to 140e667 Compare June 5, 2025 20:01
@alamb
Copy link
Contributor

alamb commented Jun 5, 2025

If the tests pass I'll merge it in

@github-actions github-actions bot removed logical-expr Logical plan and expressions core Core DataFusion crate labels Jun 5, 2025
@alamb alamb merged commit 2a7f64a into apache:main Jun 5, 2025
28 checks passed
kosiew pushed a commit to kosiew/datafusion that referenced this pull request Jun 9, 2025
* Initial commit of UDWF via FFI

* Work in progress on integration testing of udwf

* Rebase due to UDF changes upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ffi Changes to the ffi crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose user defined functions in the FFI
2 participants