Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
When defining UDFs the ability to use a function on both scalar and array with a single function definition is important. Here using a function just written for array-like inputs on scalars is a vital component when providing better support. Further more, UDFs need to be consistent with the pre-registered functions in the function registry. Considering both usability and consistency, it is important to support this feature.
This requirement was a part of discussion in Scalar UDF integration PR[1].
References:
[1]. https://github.com/apache/arrow/pull/12590#issuecomment-1089426784