Skip to content

Conversation

@kdbrooks
Copy link
Contributor

@kdbrooks kdbrooks commented May 3, 2023

Which issue does this PR close?

Closes #366

Rationale for this change

If you use SessionContext from multiple threads you can get a "Already Borrowed" panic from Pyo3 PyCell.

What changes are included in this PR?

Removed unneeded &mut self references to pyclasses.

Are there any user-facing changes?

Yes, I made the RecordBatchStream an actual python iterator.

@kdbrooks kdbrooks marked this pull request as draft May 3, 2023 20:57
@andygrove
Copy link
Member

I'll go ahead and close this since it has been open for a year and is in draft.

@kylebrooks-8451 feel free to re-open if you resume work on this

@andygrove andygrove closed this May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Already Borrowed Error When using SessionContext from Multiple Threads

2 participants