Skip to content

feat: add user defined table function support #1113

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

timsaucer
Copy link
Contributor

Which issue does this PR close?

This addresses part of #1017

Rationale for this change

This feature exposes the ability to create user defined functions. Support exists in the upstream datafusion repository but was not exposed in the Python bindings.

What changes are included in this PR?

This adds a new udtf function and associated classes for creating user defined table functions. With this change you can either provide a pure python or a rust backed udtf.

There are new unit tests provided with this PR and an example usage.

Are there any user-facing changes?

This is a pure addition.

@timsaucer
Copy link
Contributor Author

I'll mark this ready for review once I've had time to write the associated user documentation page, but the core algorithm work should be ready.

@timsaucer timsaucer force-pushed the feat/user-defined-table-functions branch from 2b7de60 to a55969c Compare May 5, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant