crepererum commented on issue #10631:
URL: https://github.com/apache/datafusion/issues/10631#issuecomment-2129296188

   I would suggest a rather larger refactoring? We have:
   
   - `SessionState`
   - `SessionConfig`
   - `SessionContext`
   - `TaskContext`
   - `RuntimeConfig`
   - `RuntimeEnv`
   - `ConfigOptions`
   
   So it seems that someone tried to model a hierarchy runtime->session->task 
but TBH the types are pretty inconsistent and I don't know what we would need a 
"task" for. I kinda see why someone would differentiate between a "runtime" 
(long-lived) and a "session" (request/query-scoped).
   
   I also don't understand why there is a "state" and a "context".


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

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to