jorgecarleitao commented on pull request #8307: URL: https://github.com/apache/arrow/pull/8307#issuecomment-702227276
I think that the reason is that an iterator like `RecordBatchReader` needs to be mutable to be iterated upon (regardless of whether we use `next_batch` or `into_iter`), while an `Arc` would require it to be immutable. `Box` implements `BorrowMut`, which addresses this. ---------------------------------------------------------------- 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: [email protected]
