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

   > Use case is not to register function factory it's more to configure it 
once it's registered, something like:
   
   Ah, that makes sense
   
   So in that case what do you think about this
   
   ```rust
   let mut session_config = SessionConfig::new()
     .with_information_schema(true)
     // register torch factory configuration
     .with_extension_options(TorchConfig::default())
   ```
   
   That just does the gymnastics like
   
   ```rust
   self.state.write().
          .session_config
         .options_mut()
         .extensions
         // register torch factory configuration
         .insert(TorchConfig::default());
   ```


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