shehab-ali commented on PR #21262: URL: https://github.com/apache/datafusion/pull/21262#issuecomment-4307747494
``` scalar_functions_map: Option<HashMap<String, Arc<ScalarUDF>>>, aggregate_functions_map: Option<HashMap<String, Arc<AggregateUDF>>>, window_functions_map: Option<HashMap<String, Arc<WindowUDF>>>, ``` What if we add and pass three function HashMaps directly through the builder with those ^ three new private hash maps. In `build()`, these are assigned straight to the session state, bypassing `register_udf()` entirely. Keys are never re-derived, so whatever mapping was in the original `SessionState`, including chains of overrides and surviving alias entries would be preserved exactly -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
