Hi there, We've added (deflate) codec support to avro-c!
Please let me know what should be changed/fixed/etc - Lucas Martin-King (Experian Hitwise) You can merge this Pull Request by running: git pull https://github.com/hitwise/avro codec-deflate Or you can view, comment on it, or merge it online at: https://github.com/apache/avro/pull/5 -- Commit Summary -- * Added zlib as dependency in avro-c.pc.in * Initial codec support * Added codec.{c,h} to CMakeLists.txt * Make sure codec is created before file writer is initialized fully * Added libz to CMakeLists * Added public method for creating a file writer with codec * Use zlib directly so we have raw deflate blocks instead of zlib blocks * Added codec support to file_read_header * Make sure we free codec memory on file close * Free up zlib private data; fix memory leak * Refactor null codec implementation into functions * Fixed invalid return value * Initial inflate codec support * Reading data files with codec support * Changed examples/quickstop to use defate codec -- File Changes -- M lang/c/examples/CMakeLists.txt (2) M lang/c/examples/quickstop.c (2) M lang/c/src/CMakeLists.txt (6) M lang/c/src/avro-c.pc.in (1) M lang/c/src/avro/io.h (3) A lang/c/src/codec.c (258) A lang/c/src/codec.h (41) M lang/c/src/datafile.c (130) M lang/c/tests/CMakeLists.txt (18) -- Patch Links -- https://github.com/apache/avro/pull/5.patch https://github.com/apache/avro/pull/5.diff --- Reply to this email directly or view it on GitHub: https://github.com/apache/avro/pull/5
