apache / apache/arrow

[C++][Python] Unregister compute functions

Open
#31,611 31 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 13h
Merged PRs (30d)
88

Description

In general, when using UDFs, the user defines a function expecting a particular outcome. When building the program, there needs to be a way to update existing function kernels if it expands beyond what is planned before. In such situations, there should be a way to remove the existing definition and add a new definition. To enable this, the unregister functionality has to be included. 

**Reporter**: [Vibhatha Lakmal Abeykoon](https://issues.apache.org/jira/browse/ARROW-16211) / @vibhatha
**Assignee**: [Vibhatha Lakmal Abeykoon](https://issues.apache.org/jira/browse/ARROW-16211) / @vibhatha
#### Related issues:
- [[C++] Arrow Substrait enhancements for UDF](https://github.com/apache/arrow/issues/32153) (relates to)
#### PRs and other links:
- [GitHub Pull Request #14308](https://github.com/apache/arrow/pull/14308)

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

Contributor guide

Open the contributing guide

Research direction

Start by reviewing pull request #14308 and the related Arrow Substrait UDF issue #32153. The requested outcome is an unregister operation for existing compute-function definitions so a replacement kernel can be added, but the issue names no source files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.