[
https://issues.apache.org/jira/browse/AVRO-757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990718#comment-12990718
]
Stu Hood commented on AVRO-757:
-------------------------------
> Perhaps we should implement this by adding the following methods to
> DataFileReader:
This is almost exactly what I prototyped last night: I'll post a patch over the
weekend.
> ...Perhaps there should be a boolean 'sync' parameter to that method that
> defaults to true?
I was going to take a much lazier approach that assumed that the next step
after reopening was to call seek or sync, but I think you are right that we
need to be in some known position.
> Allow a DataFile to be reopened without reading the head
> --------------------------------------------------------
>
> Key: AVRO-757
> URL: https://issues.apache.org/jira/browse/AVRO-757
> Project: Avro
> Issue Type: New Feature
> Components: java
> Reporter: Stu Hood
> Assignee: Stu Hood
> Labels: file
> Fix For: 1.5.0
>
>
> It is useful to be able to re-open a file without needing to seek to the head
> of the stream to collect metadata and schema that you've read before.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira