Martin Nagy created AVRO-1142:
---------------------------------

             Summary: Specification is misleading in regards to CRC32 checksum 
of Snappy blocks
                 Key: AVRO-1142
                 URL: https://issues.apache.org/jira/browse/AVRO-1142
             Project: Avro
          Issue Type: Bug
          Components: spec
            Reporter: Martin Nagy


The specification says:

??Each compressed block is followed by its 4-byte, big-endian CRC32 checksum.??

This, in my opinion, suggests that the CRC32 checksum is calculated from the 
compressed block, when in fact it is computed from the block before compression 
(as it is implemented in java). I've implemented a snappy codec for C++ and had 
trouble with this :(

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to