Charles Chen created AVRO-2306:
----------------------------------

             Summary: Python avro library corrupts files when using snappy codec
                 Key: AVRO-2306
                 URL: https://issues.apache.org/jira/browse/AVRO-2306
             Project: Apache Avro
          Issue Type: Bug
          Components: python
    Affects Versions: 1.8.2
            Reporter: Charles Chen


Currently, the Python version of avro when run in Python 3 corrupts files when 
using the snappy codec.  Specifically, this line 
[https://github.com/apache/avro/blob/8643e3bd73cab8dbbbcac1203a19c2d2cdc62cfe/lang/py3/avro/datafile.py#L286]
 fails to resolve to True because of a comparison between a byte and unicode 
string returning False.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to