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

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

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

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
>
> [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