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

Michael A. Smith commented on AVRO-2580:
----------------------------------------

This is related to AVRO-2429 but also somewhat at odds with some of the 
opinions in there.

> Schema validation should fail if logical type does not match literal type
> -------------------------------------------------------------------------
>
>                 Key: AVRO-2580
>                 URL: https://issues.apache.org/jira/browse/AVRO-2580
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 1.9.1
>            Reporter: Michael A. Smith
>            Assignee: Michael A. Smith
>            Priority: Major
>
> [The spec |http://avro.apache.org/docs/current/spec.html#Logical+Types] 
> explicitly links logical types with underlying actual types, but the 
> implementation in python allows a logical type that does not match the 
> specified underlying type. This diverges python from the Java implementation, 
> which requires the logical and actual types to match.



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

Reply via email to