You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/04/11 18:13:00 UTC
[jira] [Created] (PARQUET-2022) ZstdDecompressorStream should close
`zstdInputStream`
Dongjoon Hyun created PARQUET-2022:
--------------------------------------
Summary: 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
`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)