[
https://issues.apache.org/jira/browse/AVRO-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stu Hood updated AVRO-652:
--------------------------
Status: Patch Available (was: Open)
Fix Version/s: 1.4.0
> Expose sync points in DataFileReader
> ------------------------------------
>
> Key: AVRO-652
> URL: https://issues.apache.org/jira/browse/AVRO-652
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Stu Hood
> Priority: Minor
> Fix For: 1.4.0
>
> Attachments:
> 0001-Add-previousSync-method-for-sync-point-discovery-and.patch
>
>
> DataFileReader.blockStart is hidden from the caller, but exposing it (as
> readonly) would allow callers to discover sync points in a file by watching
> it for changes.
> seek(long) only takes an exact block boundary, while sync(long) moves to the
> next block boundary. There does not appear to be a way to rediscover points
> that you can seek() to, which would be very useful for building or recovering
> an index for a file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.