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

ASF subversion and git services commented on AVRO-2580:
-------------------------------------------------------

Commit e77241990490b8cd06df4dd7ea02d59535fab745 in avro's branch 
refs/heads/branch-1.9 from Michael A. Smith
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=e772419 ]

AVRO-2580: Enforce Logical Type and Literal Type Match (#668)

* AVRO-2580: Refactor Schema.parse Test

* AVRO-2580: Rewrite Tests to Highlight Bug

* AVRO-2580: Require Logical Type to Match Literal Type

* AVRO-2580: Refactor Schema Tests

1. Enable showing multiple failures in a single run.
2. Use JSON to format test schema when possible.


> 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
>             Fix For: 1.10.0, 1.9.2
>
>
> [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