[ https://issues.apache.org/jira/browse/AVRO-2429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan Skraba updated AVRO-2429: ------------------------------ Fix Version/s: 1.9.2 > 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 Madhusanka Jayalath > Assignee: Ryan Skraba > Priority: Major > Fix For: 1.10.0, 1.9.2 > > Attachments: uuid.avro > > > [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 (v8.3.4#803005)