Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15635 [C++][Python] UDF Integration
  3. ARROW-16213

[C++][Python] Generate scalar-argument kernel based on array-argument kernel for UDFs

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++, Python
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            vibhatha Vibhatha Lakmal Abeykoon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: