You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/10/01 15:48:40 UTC

[GitHub] [arrow] jorgecarleitao commented on pull request #8307: ARROW-9753: [Rust] [DataFusion] Replaced Arc> by Box<>

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:
users@infra.apache.org