You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Robbie Gruener (Jira)" <ji...@apache.org> on 2020/04/23 16:35:00 UTC

[jira] [Commented] (AVRO-2104) Schema normalisation and fingerprint support for Python 3

    [ https://issues.apache.org/jira/browse/AVRO-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090746#comment-17090746 ] 

Robbie Gruener commented on AVRO-2104:
--------------------------------------

This change broke backwards compatibility with a previous serialized avro record I had which was serialized using avro-python3==1.9.0 since the fullname always included a period even if namespace was not set. Therefore I am unable to deserialize these records using avro-python3==1.9.2.1 since I get the following error:

avro.schema.SchemaParseException: Unknown named schema '.RecordName', known names: ['RecordName'].

 

Any suggestions on how to remedy this? I guess I should have used namespace but too late for that and we would like to not be stuck on avro 1.9.0 forever.

> Schema normalisation and fingerprint support for Python 3
> ---------------------------------------------------------
>
>                 Key: AVRO-2104
>                 URL: https://issues.apache.org/jira/browse/AVRO-2104
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: python
>            Reporter: Robert Smallshire
>            Assignee: Michael A. Smith
>            Priority: Major
>             Fix For: 1.9.2
>
>
> The existing Python 3 implementation supports neither schema canonicalisation to parsing normal form, nor fingerprinting of normalised schemas. This limits the interoperability of Python 3 Avro systems with other Avro implementations including the Java and Ruby versions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)