[
https://issues.apache.org/jira/browse/PARQUET-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17329216#comment-17329216
]
ASF GitHub Bot commented on PARQUET-2022:
-----------------------------------------
shangxinli commented on pull request #889:
URL: https://github.com/apache/parquet-mr/pull/889#issuecomment-824955375
Thanks @dongjoon-hyun for working on this!
cc @vectorijk
--
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]
> ZstdDecompressorStream should close `zstdInputStream`
> -----------------------------------------------------
>
> Key: PARQUET-2022
> URL: https://issues.apache.org/jira/browse/PARQUET-2022
> Project: Parquet
> Issue Type: Bug
> Components: parquet-mr
> Affects Versions: 1.12.0
> Reporter: Dongjoon Hyun
> Assignee: Dongjoon Hyun
> Priority: Major
>
> `ZstdDecompressorStream` should close its resource because
> `CompressionInputStream.close` closes only the inter stream.
> {code}
> public class ZstdDecompressorStream extends CompressionInputStream {
> private ZstdInputStream zstdInputStream;
> public ZstdDecompressorStream(InputStream stream) throws IOException {
> super(stream);
> zstdInputStream = new ZstdInputStream(stream);
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)