tustvold commented on code in PR #4633:
URL: https://github.com/apache/arrow-datafusion/pull/4633#discussion_r1050058144
##########
datafusion/core/src/execution/context.rs:
##########
@@ -363,7 +363,8 @@ impl SessionContext {
LogicalPlan::SetVariable(SetVariable {
variable, value, ..
}) => {
- let config_options = &self.state.write().config.config_options;
Review Comment:
I'm actually somewhat surprised this was compiling, there must be some magic
going on to extend the lifetime of the temporary lock guard, which is wild
--
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]