andygrove commented on pull request #8018: URL: https://github.com/apache/arrow/pull/8018#issuecomment-678369613
@alamb I think you are right. Rather than having `Arc<Mutex<_>>` within `ExecutionContextState`, we should have `Arc<Mutex<ExecutionContextState>>` where we need mutability and then `clone()` the state to get a read-only snapshot when we need it for execution. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org