sunchao commented on pull request #32446: URL: https://github.com/apache/spark/pull/32446#issuecomment-833302014
> If the permanent functions are not used, unlike built-in ones, why it needs to preload all permanent functions? Doesn't it waste resources to load unused permanent functions? I'm not totally sure about the exact reason as it is not discussed in the original JIRA. But IMO a HS2 is usually long running so there is a good chance that many permanent UDFs will eventually be used. Instead of issuing separate HMS calls for each of them, it might be better to issue one call and load them all up front. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
