Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C54C1101A6 for ; Wed, 3 Jul 2013 17:14:24 +0000 (UTC) Received: (qmail 17095 invoked by uid 500); 3 Jul 2013 17:14:24 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 16752 invoked by uid 500); 3 Jul 2013 17:14:24 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 16275 invoked by uid 99); 3 Jul 2013 17:14:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 17:14:20 +0000 Date: Wed, 3 Jul 2013 17:14:20 +0000 (UTC) From: "Doug Cutting (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AVRO-1318) Python schema should store fingerprints MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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