You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Already Borrowed Error When using SessionContext from Multiple Threads #366
Basically changing all the mut self to self in src/context.rs resolves the error, compiles and all the tests pass. I'm not sure if there is some subtlety to that. I assume the contexts are thread safe in rust.
Activity
Michael-J-Ward commentedon Oct 29, 2024
@kylebrooks-8451 - Are you still experiencing this error with recent releases of
datafusion-python?If so, would you mid providing a minimal reproducible example?
ntjohnson1 commentedon Sep 19, 2025
RuntimeError: Already borrowed(on `'48.0.0')
ntjohnson1 commentedon Sep 19, 2025
Basically changing all the
mut selftoselfin src/context.rs resolves the error, compiles and all the tests pass. I'm not sure if there is some subtlety to that. I assume the contexts are thread safe in rust.