Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.2
    • Component/s: c
    • Labels:

      Description

      We (Experian Hitwise) have added codec support to avro-c (as per the avro spec), with preliminary deflate/inflate support (as well as null codec support).

      This changes the way blocks are written to the file, with the block data being passed through the codec interface, before being written to file.

      This also changes the way blocks are read from a file, with the block data first being read into a buffer, before being passed through the codec interface, then a memory reader is set to the decoded data, which is read by the user calls avro_file_reader_read_value() and avro_file_reader_read()

      Please feel free to make changes, as although I did try to emulate the coding style of the rest of the avro c library, there may be things I've done "differently"

      Code is available from Github: https://github.com/hitwise/avro (branch: codec)

      1. AVRO-957.patch
        101 kB
        Michael Cooper
      2. 0001-Use-builtin-CMake-logic-to-find-zlib-and-lzma.patch
        3 kB
        Douglas Creager

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Lucas Martin-King
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development