tustvold edited a comment on pull request #1526:
URL: 
https://github.com/apache/arrow-datafusion/pull/1526#issuecomment-1009925733


   > Should I make SendableRecordBatchStream pin arc instead of pin box and 
register each stream arc to runtime at each execute() last line?
   
   Not fully caught up, but how would you consume from such a thing? You need a 
mutable reference to poll a stream? Streams, like iterators, are not meant to 
be shared.
   
   _As an aside the Sync constraint on SendableRecordBatchStream is potentially 
extraneous for this reason, you can't do much with a shared stream anyway, so 
requiring share-ability between threads imposes unnecessary implementation 
constraints_


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