[ 
https://issues.apache.org/jira/browse/PARQUET-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17412844#comment-17412844
 ] 

ASF GitHub Bot commented on PARQUET-2022:
-----------------------------------------

shangxinli closed pull request #929:
URL: https://github.com/apache/parquet-mr/pull/929


   


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


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

Reply via email to