matt mead created AVRO-1276:
-------------------------------

             Summary: Support previousSync() call on DataFileWriter as it 
exists in DataFileReader
                 Key: AVRO-1276
                 URL: https://issues.apache.org/jira/browse/AVRO-1276
             Project: Avro
          Issue Type: Improvement
          Components: java
    Affects Versions: 1.7.4
            Reporter: matt mead
            Assignee: matt mead


The previousSync() call on DataFileReader is useful for building catalogs of 
where Avro files live within their containers.  In combination with tracking an 
ordinal offset for where each record lives relative to a synchronization point, 
random access can be achieved on large data-sets stored in Avro.

For operations where construction of such a catalog is useful during the write 
phase of data processing, support for querying the DataFileWriter for the same 
information would allow for catalog construction without re-reading the written 
data or major workarounds to get this information out of a subclass.

I plan to submit patches for this in the near future.

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

Reply via email to