milenkovicm commented on issue #9529: URL: https://github.com/apache/arrow-datafusion/issues/9529#issuecomment-1987178757
@alamb, having it as the part of `FunctionFactory` would be ideal, imho. Something like: ```rust #[async_trait] pub trait FunctionFactory: Sync + Send { type Config : Default + datafusion_common::config::ExtensionOptions + datafusion_common::config::ConfigExtension; async fn create( &self, state: &SessionConfig, statement: CreateFunction, ) -> Result<RegisterFunction>; } ``` wdyt ? -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org