Omega359 commented on PR #13527:
URL: https://github.com/apache/datafusion/pull/13527#issuecomment-2506774637

   > > Maybe we could change the semantics so that `SessionConfig` has a 
`Arc<ConfigOptions>` which was cloned when it was modified 
(`Arc::unwrap_or_clone()` style) 🤔
   > 
   > Certainly possible, I can attempt that.
   
   @alamb I did a quick attempt at implementing that however it breaks a 
commonly used method - SessionConfig.options_mut(). Not having that available 
breaks a bunch of stuff and while switching to SessionConfig.set(..) is quite 
possible it's not as clean.
   
   Trying with &ConfigOptions in ScalarFunctionExpr leads to lifetime hell in 
areas I have no idea how to overcome right now.
   
   As much as I want this feature I'm going to put it aside for now
   


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