avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Krogen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1679) DataFileReader.SeekableInputStream.skip seeking rather than skipping
Date Wed, 01 Jul 2015 00:51:04 GMT

    [ https://issues.apache.org/jira/browse/AVRO-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14609371#comment-14609371
] 

Erik Krogen commented on AVRO-1679:
-----------------------------------

needed 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)

Mime
View raw message