Max-Meldrum commented on issue #290:
URL: https://github.com/apache/arrow-rs/issues/290#issuecomment-841617101


   > Thanks for this.
   > 
   > Honest curiosity: what is the use-case where the ArrayBuilder is passed 
around?
   > 
   > Also, isn't it possible to use `&dyn ArrayBuilder + Send` on the code to 
enforce this?
   
   Well it is not so much the ArrayBuilder being sent around, but it is a 
StructBuilder that is passed around which itself contains a bunch of field 
builders of ``Box<ArrayBuilder>``.  The use case is that a ``StructBuilder`` is 
used to build up columnar data in a streaming window. During the length of this 
window, the "worker" may move across threads as the underlying thread model 
uses a workstealing scheduler.
   


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


Reply via email to