pitrou commented on PR #41801:
URL: https://github.com/apache/arrow/pull/41801#issuecomment-2129993765

   > On the other hand, if the user is calling `Read` and then just stashing 
the buffer
   
   If that's the case, then is it correct for `ReadSome` to return a pointer to 
its own internal buffer? After all, it may be overwritten by a subsequent read. 
Or are you suggesting `ReadSome` hands off the internal buffer to the caller 
and allocates a new internal buffer on a subsequent read?


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