timsaucer opened a new issue, #14562:
URL: https://github.com/apache/datafusion/issues/14562

   ### Is your feature request related to a problem or challenge?
   
   By adding the foreign function interface to this project, we exposed a host 
of features to end users. It allows for easy integration of DataFusion 
libraries across projects, specifically impacting `datafusion-python`.
   
   I recommend that we work to expose scalar, aggregate, and window user 
defined functions via FFI. This is to support the issue 
https://github.com/apache/datafusion-python/issues/1017 
   
   ### Describe the solution you'd like
   
   Follow the existing pattern within the `datafusion` repository and expose 
these types of user defined functions.
   
   - [ ] scalar
   - [ ] aggregate
   - [ ] window
   - [ ] table
   
   Note: The table functions are not currently in use in `datafusion-python`, 
but it would be a good addition.
   
   ### Describe alternatives you've considered
   
   For the `datafusion-python` project, we can work around via python calls but 
this would be a far more elegant approach in my opinion.
   
   ### Additional context
   
   Once we have these exposed, we could expose the function registry, which 
would get us very close to a FFI SessionContext. That would have impacts on the 
`ballista` and `datafusion-ray` projects.


-- 
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-unsubscr...@datafusion.apache.org.apache.org

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


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

Reply via email to