jorgecarleitao opened a new pull request #9376:
URL: https://github.com/apache/arrow/pull/9376


   This is a work in progress to add support for `ScalarValue` to all 
builtin-functions and UDFs from DataFusion.
   
   This allows to execute scalar functions without having to create arrays and 
pass then to the kernels.
   
   It is WIP because I am still migrating some kernels (`null_if` and temporal 
kernels). I am sharing this here because I can see a lot of activity in adding 
new kernels, and it would be good to have this work aligned together.
   
   With this change, creating a kernel is a bit more time consuming, as it is 
necessary to cater for both the scalar and vector case. OTOH, this leads to a 
major performance improvement as we only need to perform 1 vs N operations.


----------------------------------------------------------------
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.

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


Reply via email to