fallintoplace opened a new pull request, #1003:
URL: https://github.com/apache/arrow-go/pull/1003

   ### Rationale for this change
   
   Closing a compression wrapper should release codec state without taking 
ownership of the caller-provided stream. The uncompressed codec returned an 
underlying ReadCloser or WriteCloser directly, unlike the compressed codecs, so 
closing the wrapper also closed the caller stream.
   
   ### What changes are included in this PR?
   
   Always wrap uncompressed readers and writers with no-op closers and add 
ownership regression tests for both directions.
   
   ### Are these changes tested?
   
   Yes. go test ./parquet/compress
   
   ### Are there any user-facing changes?
   
   Closing an uncompressed streaming codec wrapper no longer closes the 
underlying reader or writer.


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