You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2013/06/11 21:51:20 UTC

[jira] [Commented] (AVRO-1182) DataFileReader missing seek, sync methods

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

Thiruvalluvan M. G. commented on AVRO-1182:
-------------------------------------------

I'm sorry I took this long to respond on this. The patch would work in most situations. But, as you point out being not tested, if partial sync record has been read into current buffer, it will fail. When such a situation happens, it will be very hard to debug.

Is it possible to address that problem? I understand it is not straightforward because of no-copy input streams.
                
> DataFileReader missing seek, sync methods
> -----------------------------------------
>
>                 Key: AVRO-1182
>                 URL: https://issues.apache.org/jira/browse/AVRO-1182
>             Project: Avro
>          Issue Type: Improvement
>          Components: c++
>    Affects Versions: 1.7.3
>            Reporter: Daniel Russel
>         Attachments: add_seek
>
>
> The DataFileReader is missing the seek and sync methods that are found in the java version making it hard to navigate a file except in a linear fashion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira