[ 
https://issues.apache.org/jira/browse/AVRO-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853128#comment-13853128
 ] 

Doug Cutting commented on AVRO-1414:
------------------------------------

This looks great.  Tests pass for me and I can read the compressed file written 
by C++ using Java's command line tools.  +1  I will commit this soon unless 
someone objects.

FYI for others, the patch for a GitHub commit can be obtained by adding 
'.patch' to the url, e.g.:

https://github.com/salilab/avrocpp/compare/d8afad009069f056168a6b10600fcf91a302b95a...compression.patch


> Compression with C++ DataFile
> -----------------------------
>
>                 Key: AVRO-1414
>                 URL: https://issues.apache.org/jira/browse/AVRO-1414
>             Project: Avro
>          Issue Type: Improvement
>          Components: c++
>            Reporter: Daniel Russel
>         Attachments: AVRO-1414.patch, patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to