dvic commented on issue #5344:
URL: https://github.com/apache/arrow-rs/issues/5344#issuecomment-1916640875

   > ~I agree with @tustvold that adding `Sync` doesn't make sense for 
`ArrayBuilder`, which only has mutable APIs. In this case, all `Box<dyn 
ArrayBuilder>` are already `Sync`.~
   > 
   > Correct: `ArrayBuilder` does have APIs that take `&self` like 
[`is_empty`](https://docs.rs/arrow/latest/arrow/array/trait.ArrayBuilder.html#method.is_empty).
   
   Ah yes, I do call in an async function `is_empty`, maybe that resulted in a 
future where the arraybuilder was captured by ref and caused the above 
compilation errors?


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to