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

Joey Pereira commented on AVRO-3272:
------------------------------------

Ah, nevermind about the ordering issue! Scott on that fastavro issue pointed 
out that the unreleased version of Avro is now removing the type ordering 
constraint.

(Nonetheless, consider this a +1 for the default type constraint check)

> Validate defaults for Record Fields
> -----------------------------------
>
>                 Key: AVRO-3272
>                 URL: https://issues.apache.org/jira/browse/AVRO-3272
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 1.11.0
>            Reporter: Michael A. Smith
>            Priority: Major
>
> AVRO-3229 points out that the Python implementation does not validate 
> defaults for EnumSchema. The fix for EnumSchema is relatively 
> straightforward, but that issue reminds us that Python also doesn't validate 
> RecordSchema Fields. That fix is complicated by the fact that the Avro 
> validator is type-strict about the difference between bytes and strings, but 
> the default bytes field is a string.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to