You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "timsaucer (via GitHub)" <gi...@apache.org> on 2025/02/21 19:42:18 UTC

[PR] Feat/ffi scalar udf [datafusion-python]

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

   # Which issue does this PR close?
   
   This addresses part of #1017 - the scalar UDFs
   
    # Rationale for this change
   
   This change enables users who have written DataFusion scalar UDFs to reuse them in `datafusion-python` with minimal overhead. They simply need to create a python object that exposes a PyCapsule that is the `FFI_ScalarUDF`.
   
   # What changes are included in this PR?
   
   Adds a function in ScalarUDF to create from a FFI object.
   Add a full example and integration test.
   
   # Are there any user-facing changes?
   
   Existing interfaces are not changed, but additional `ffi_udf` function is added.


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Feat/ffi scalar udf [datafusion-python]

Posted by "timsaucer (via GitHub)" <gi...@apache.org>.
timsaucer commented on PR #1033:
URL: https://github.com/apache/datafusion-python/pull/1033#issuecomment-2675401682

   Putting into draft because we need the upstream DataFusion repository to release version 46 before this can be enabled.


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Feat/ffi scalar udf [datafusion-python]

Posted by "timsaucer (via GitHub)" <gi...@apache.org>.
timsaucer commented on PR #1033:
URL: https://github.com/apache/datafusion-python/pull/1033#issuecomment-2970802418

   Superseded by https://github.com/apache/datafusion-python/pull/1145


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Feat/ffi scalar udf [datafusion-python]

Posted by "timsaucer (via GitHub)" <gi...@apache.org>.
timsaucer closed pull request #1033: Feat/ffi scalar udf
URL: https://github.com/apache/datafusion-python/pull/1033


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Feat/ffi scalar udf [datafusion-python]

Posted by "CrystalZhou0529 (via GitHub)" <gi...@apache.org>.
CrystalZhou0529 commented on PR #1033:
URL: https://github.com/apache/datafusion-python/pull/1033#issuecomment-2764914770

   This could be reviewed now!


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org