[ https://issues.apache.org/jira/browse/ARROW-16211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17614178#comment-17614178 ]
Weston Pace commented on ARROW-16211: ------------------------------------- I'm +1 on Yaron's points regarding safety. Use cases: * Adding extra functions for unit tests (the original motivation for this particular JIRA I think) Solution: Create a nested registry for the unit tests * User wants to predefine a bunch of UDFs that will last for the duration of the process Solution: Replace the default registry with a nested registry based on the old default registry * User wants plan-specific UDFs Solution: Nested registry for the plan based on the default registry > [C++][Python] Unregister compute functions > ------------------------------------------ > > Key: ARROW-16211 > URL: https://issues.apache.org/jira/browse/ARROW-16211 > Project: Apache Arrow > Issue Type: Sub-task > Components: C++, Python > Reporter: Vibhatha Lakmal Abeykoon > Assignee: Vibhatha Lakmal Abeykoon > Priority: Major > > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)