You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Erik Krogen (JIRA)" <ji...@apache.org> on 2015/07/01 02:50:04 UTC

[jira] [Updated] (AVRO-1679) DataFileReader.SeekableInputStream.skip seeking rather than skipping

     [ https://issues.apache.org/jira/browse/AVRO-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Krogen updated AVRO-1679:
------------------------------
    Attachment: AVRO-1679.patch

Very simple and short code review here. 

> DataFileReader.SeekableInputStream.skip seeking rather than skipping
> --------------------------------------------------------------------
>
>                 Key: AVRO-1679
>                 URL: https://issues.apache.org/jira/browse/AVRO-1679
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.7
>            Reporter: Erik Krogen
>            Priority: Minor
>         Attachments: AVRO-1679.patch
>
>
> Within DataFileReader.SeekableInputStream, the skip method acts as a seek rather than a skip (seeking to the offset which is passed in rather than skipping ahead by that offset). It passes the value through to the underlying SeekableInput's seek method without first adding the current position within the input. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)