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

H2SeekableInputStream readFully() doesn't respect start and len

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment