[
https://issues.apache.org/jira/browse/AVRO-2580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16984564#comment-16984564
]
ASF subversion and git services commented on AVRO-2580:
-------------------------------------------------------
Commit d28bf07d2da8dbddb561630ca69c0cee2d3f5b52 in avro's branch
refs/heads/master from Michael A. Smith
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=d28bf07 ]
AVRO-748: Protocol Error Schema Implicit String (#717)
Account for the implicit string schema as one of the possible protocol error
schema.
Similar to the changes in AVRO-2580, the protocol tests could hide errors when
the overloaded exception handling catches the assertion error from the test
itself. This corrects that.
> 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)