apache / apache/datafusion

Can we add `udtf` to `FunctionRegistry`?

Open
#15,095 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Discussed in https://github.com/apache/datafusion/discussions/14571

Originally posted by **niebayes** February 10, 2025
The `FunctionRegistry` provides interfaces for accessing user defined functions, aggregate functions, window functions ,etc.
But it lacks of an interface for accessing registered table functions.

Can we add a `udtf` method to `FunctionRegistry`?

Contributor guide

Open the contributing guide

Research direction

Start by locating the Rust FunctionRegistry definition and reviewing its existing interfaces for user-defined, aggregate, and window functions. Determine how registered table functions are represented and exposed, then verify that the registry provides the requested table-function access and that relevant tests cover it.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.