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

Ryan Skraba commented on AVRO-3648:
-----------------------------------

Good catch – just for reference, the python SDK was also accepting bad enum 
symbols as well, and ended up requiring a "validate_enum_symbols = true" flag 
so that old (but invalid) schemas with bad enums could still be used.

 

> The following invalid schema is accepted by the java implementation
> -------------------------------------------------------------------
>
>                 Key: AVRO-3648
>                 URL: https://issues.apache.org/jira/browse/AVRO-3648
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.11.1
>            Reporter: Daniel Collins
>            Priority: Major
>
> {
>         "type" : "enum",
>         "name" : "example",
>         "symbols" : ["ABC", "HAS_A_SPECIAL_CHAR_Ó"]
> }



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

Reply via email to