jfz commented on PR #5282:
URL: https://github.com/apache/iceberg/pull/5282#issuecomment-1185848975

   Another issue with `fromInputStream` is that it disables `close` of the 
original stream, and user is responsible for closing it outside of AWS SDK. In 
this particular case I think it's not too bad because SequenceInputStream 
closes the underlying input streams on iteration, only the BufferedInputStream 
is not closed but I think the buffer is GCed when this completes. cc 
@danielcweeks 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to