Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2891

Expose new API getCurrentBlockStart for data written on DataFileWriter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.9.2
    • 1.10.1
    • c++
    • None
    • New API DataFileWriter::lastSync() that exposes offset of the last sync marker written to the Avro file.

    Description

      Requesting an API lastSync() on DataFileWriter. It is useful to expose sync offsets during the process of writing an Avro file - Given sync info, it makes it easier to fetch a specific block and read if so desired, rather than having to read the whole file to locate contents of a record in a specific block. 

      Attachments

        Activity

          People

            krishnan.sundaram Krishnan Sundaram
            krishnan.sundaram Krishnan Sundaram
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified