timsaucer opened a new pull request, #1299:
URL: https://github.com/apache/datafusion-python/pull/1299

   # Which issue does this PR close?
   
   Closes #1172 
   
    # Rationale for this change
   
   Since we now have the ability to pass Field information instead of just 
DataType with ScalarUDFs, this feature adds similar support for Python written 
UDFs. Without this feature you must write your UDFs in rust and expose them to 
Python. This enhancement greatly expands the use cases where PyArrow data can 
be leveraged.
   
   # What changes are included in this PR?
   
   - Adds a ScalarUDF implementation for python based UDFs instead of relying 
on the `create_udf` function
   - Adds support for converting to pyarrow array via FFI but including the 
Field schema instead of the data type
   
   # Are there any user-facing changes?
   
   This expands on the current API and is backwards compatible. 
   
   # TODO
   
   - [ ] Add unit tests
   - [ ] Update online documentation
   - [ ] Update python signatures (type hints)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to