avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1318) Python schema should store fingerprints
Date Wed, 03 Jul 2013 17:14:20 GMT

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

Doug Cutting commented on AVRO-1318:
------------------------------------

An alternative is to add an entirely new API and deprecate the old one.

If we add a new API it would be good to have it object-based rather than dictionary-based
(AVRO-283), and for it to correctly resolve unions, using record names rather than recursive
validation (AVRO-1343).
                
> Python schema should store fingerprints
> ---------------------------------------
>
>                 Key: AVRO-1318
>                 URL: https://issues.apache.org/jira/browse/AVRO-1318
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: Jeremy Kahn
>            Assignee: Jeremy Kahn
>            Priority: Minor
>              Labels: features
>         Attachments: AVRO-1318.patch
>
>
> Python schema objects need to produce a simple representation that demonstrates their
field identity.   {avro.schema.Schema} objects need to provide a {fingerprint} member field
to enable quick checking of schema matching (even when the schema has other, possibly changed
decoration).
> Based on a patch pulled from [~laserson]'s proposed changes to make a collection of C-typing
hints.  These changes will be backwards-compatible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message