Xinli Shang created PARQUET-1893:
------------------------------------

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


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)

Reply via email to