crepererum opened a new issue, #2939:
URL: https://github.com/apache/arrow-datafusion/issues/2939

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   As a DataFusion user (concrete: the IOx team) I would like to be able to 
bind `Any` object to the `SessionConfig` so all traits that receive 
`SessionState` (e.g. `TableProvider::scan`) to receive application-specific 
objects, e.g. for tracing or caching.
   
   **Describe the solution you'd like**
   Attach some `Arc<dyn Any>` to `SessionConfig`.
   
   **Describe alternatives you've considered**
   - Using the `SessionState` instead. I find that application-specific "stuff" 
might be better attached to the config, but I don't have a strong opinion on 
that.
   - Use the existing `ConfigOptions`. The problem is that these options only 
allow `ScalarValue`s to be attached, which is not powerful enough to hold 
arbitrary objects.
   
   **Additional context**
   None.
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to