apache / apache/arrow

[C++][Python] Register Multiple Kernels for a UDF

Open
#31,612 7 comments 0 reactions 0 assignees View on GitHub
Component: C++ Component: Python Type: task
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 18h
Merged PRs (30d)
91

Description

The current UDF integration (https://issues.apache.org/jira/browse/ARROW-15639) doesn't support multiple kernel registration. It only supports registering a single kernel under a given function name. Enabling multiple kernels to be registered under the same function name is a must for usability and consistency with the existing functions in the function registry. 

**Reporter**: [Vibhatha Lakmal Abeykoon](https://issues.apache.org/jira/browse/ARROW-16212) / @vibhatha
**Assignee**: [Vibhatha Lakmal Abeykoon](https://issues.apache.org/jira/browse/ARROW-16212) / @vibhatha
#### PRs and other links:
- [GitHub Pull Request #14320](https://github.com/apache/arrow/pull/14320)

**Note**: *This issue was originally created as [ARROW-16212](https://issues.apache.org/jira/browse/ARROW-16212). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Research direction

Start with the UDF integration described in ARROW-15639 and inspect pull request #14320, which is linked from the issue. Confirm how registration currently handles one kernel and ensure the function registry can accept multiple kernels under one function name in both C++ and Python.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.