You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Gabor Szadovszky (Jira)" <ji...@apache.org> on 2020/10/22 14:20:00 UTC
[jira] [Resolved] (PARQUET-1893) H2SeekableInputStream readFully()
doesn't respect start and len
[ https://issues.apache.org/jira/browse/PARQUET-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabor Szadovszky resolved PARQUET-1893.
---------------------------------------
Resolution: Fixed
> H2SeekableInputStream readFully() doesn't respect start and len
> ----------------------------------------------------------------
>
> Key: PARQUET-1893
> URL: https://issues.apache.org/jira/browse/PARQUET-1893
> Project: Parquet
> Issue Type: Bug
> Components: parquet-mr
> Reporter: Xinli Shang
> Assignee: Xinli Shang
> Priority: Major
>
> The readFully() throws away the parameters 'start' and 'len' as shown below.
> public void readFully(byte[] bytes, int start, int len) throws IOException {
> stream.readFully(bytes);
> }
> It should be corrected as below.
> public void readFully(byte[] bytes, int start, int len) throws IOException {
> stream.readFully(bytes, start, len);
> }
> H1SeekableInputStream() has been fixed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)