[
https://issues.apache.org/jira/browse/AVRO-2429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16968338#comment-16968338
]
Hudson commented on AVRO-2429:
------------------------------
SUCCESS: Integrated in Jenkins build AvroJava #766 (See
[https://builds.apache.org/job/AvroJava/766/])
AVRO-2429: Ignore unknown logical types in python2. (#687) (michael:
[https://github.com/apache/avro/commit/bf47ec97e0b7f5701042fac067b73b421a9177b7])
* (edit) lang/py/test/test_schema.py
* (edit) lang/py/src/avro/schema.py
* (edit) lang/py/test/test_io.py
> 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
>
> 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)