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

Chamikara Jayalath updated AVRO-2429:
-------------------------------------
    Summary: Avro 1.9.0 fails when reading logical types other than "decimal"  
(was: Avro 1.9.1 fails when reading logical types other than "decimal")

> Avro 1.9.0 fails when reading logical types other than "decimal"
> ----------------------------------------------------------------
>
>                 Key: AVRO-2429
>                 URL: https://issues.apache.org/jira/browse/AVRO-2429
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 1.9.0
>            Reporter: Chamikara Jayalath
>            Priority: Major
>
> [https://github.com/apache/avro/pull/82] added support for Avro "decimal" 
> logical type but also added an assertion that results in a reader failing for 
> other logical types. 
> [https://github.com/apache/avro/blob/master/lang/py/src/avro/schema.py#L821]
> I believe this is a regression since previously avro library used to read the 
> underlying primitive type instead of failing.
> Can we revert the behavior for logical types that are not "decimal" by 
> removing this assertion and reverting to the old (avro 1.8.1) behavior of 
> returning the primitive type ?
>  
> cc: [~Fokko] [~mtth]



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

Reply via email to