You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ismaël Mejía (JIRA)" <ji...@apache.org> on 2019/01/23 08:58:00 UTC

[jira] [Resolved] (AVRO-2306) Python 3 avro library corrupts files when using snappy codec

     [ https://issues.apache.org/jira/browse/AVRO-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ismaël Mejía resolved AVRO-2306.
--------------------------------
    Resolution: Fixed

> 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
>             Fix For: 1.9.0
>
>
> 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)