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

Doug Cutting commented on AVRO-1006:
------------------------------------

Raymie> SchemaFingerprint.fingerprint seems unnecessarily long...

Now this becomes 
SchemaNormalization.fp(SchemaNormalization.toParsingForm(schema)).  The 'fp' 
might better be spelled out as 'fingerprint'.  Also a utility method like 
SchemaNormalization.parsingFingerprint(schema) might be useful.

Graham> pass a Normalizer instance...

With the latest API, someone can already call SchemaNormalization.fingerprint() 
with a differently normalized schema, so I don't see the need for this.  As we 
add more normalizers to Avro we can add new methods, so I'm not (yet) seeing 
the advantage of adding a Normalization interface.
                
> Fingerprints for Avro Schemas
> -----------------------------
>
>                 Key: AVRO-1006
>                 URL: https://issues.apache.org/jira/browse/AVRO-1006
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Raymie Stata
>            Assignee: Raymie Stata
>              Labels: features
>         Attachments: AVRO-1006-prelim.patch, AVRO-1006.patch, 
> AVRO-1006.patch, AVRO-1006.patch, schema-fingerprinting.html, 
> schema-fingerprinting.html, schema-fingerprinting.html
>
>
> Add function that returns a standardized, 64-bit fingerprint for schemas.  
> Fingerprints are designed such that the chances of collisions is very, very 
> low.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to