Make ArrowArrayStreamReader Send #4222
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
good first issue
Good for newcomers
help wanted
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
ArrowArrayStreamReader is not Send, which makes is very difficult to work with in async contexts.
While FFI_ArrowArrayStream shouldn't be Sync, I do think it should be marked Send. From the docs:
Describe the solution you'd like
If
FFI_ArrowArrayStream
were markedSend
andArrowArrayStreamReader
were refactored to hold the inner type in a Box rather than an Arc, then it would beSend
.Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: