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

   Oh, `scalar_functions` is good to use for that. We can get particular 
`ScalarUDF` from it without matching scalar udf name outside DataFusion.
   
   Although it is still not creating the `ScalarUDF` on demand.
   
   As I described in the description, for queries which don't use most of these 
scalar udfs, it looks unnecessary to create and hold these `ScalarUDF`s in the 
registry.
   
   I think a better approach should be to create `ScalarUDF` once it is really 
needed. This is how Spark handles function registry. 


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