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

Compression with C++ DataFile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.6
    • c++
    • None

    Description

      There is no way to use compression with the C++ DataFileReader and C++ DataFileWriter, from what I can tell. Adding compression of the written blocks using boost streams is relatively straight forward and I can provide a patch if people are interested.

      However, there are a couple caveats:

      • the windows builds of boost don't currently include zlib support (required for compression) by default. You have to do extra work to get it.
      • I don't know if doing it that way is compatible with other avro implementations

      Attachments

        1. AVRO-1414.patch
          10 kB
          Doug Cutting
        2. patch
          10 kB
          Daniel Russel

        Activity

          People

            drussel Daniel Russel
            drussel Daniel Russel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: