Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1893

H2SeekableInputStream readFully() doesn't respect start and len

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • parquet-mr
    • None

    Description

      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.

      Attachments

        Activity

          People

            shangx@uber.com Xinli Shang
            shangx@uber.com Xinli Shang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: