alamb commented on issue #9892:
URL: 
https://github.com/apache/arrow-datafusion/issues/9892#issuecomment-2030550758

   > It is doable thought it means we need to maintain a long list of matches, 
but I'm also wondering if there is a better built-in solution in DataFusion.
   
   I think adding a function that did this matching to datafusion seems like a 
good idea to me. You could probably write a test to ensure it was kept in sync 
with the list of functions pretty easily.
   
   
   
   > I think a better approach should be to create ScalarUDF once it is really 
needed. This is how Spark handles function registry.
   
   What is the concern about creating a bunch of `ScalarUDF`s that don't get 
used on process start? Is it to reduce process startup time / memory overhead?
   
   


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

Reply via email to