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

Calling set_meta on DataFileWriter does not do anything (in python)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.2
    • 1.7.4
    • python
    • Ubuntu 12.04

    • Calls to DataFileWriter set_meta method will now add metadata to the written file if the call is before any datum is appended to the file.

    Description

      In the code:

      writer = open(FILENAME, 'wb')
      with datafile.DataFileWriter(writer, datum_writer, schema_object) as dfw:
      dfw.set_meta('test.string', 'foo')

      the call to set_meta does not actually cause the metadata to be written to the file.

      Attachments

        1. meta.pf
          3 kB
          Philip Gladstone

        Activity

          People

            tebeka Miki Tebeka
            pjsg Philip Gladstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: