[
https://issues.apache.org/jira/browse/AVRO-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16749680#comment-16749680
]
ASF subversion and git services commented on AVRO-2306:
-------------------------------------------------------
Commit 384061c05720287aa93a756a742aab2572b75e79 in avro's branch
refs/heads/master from Charles Chen
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=384061c ]
AVRO-2306: Fix data corruption issue with snappy in Python 3
> Python 3 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
> Priority: Critical
>
> 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)