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

Christophe Le Saec commented on AVRO-3647:
------------------------------------------

The Java implementation to control name is indeed more tolerant than 
documentation says.
As it can be useful to have names that are not restrict to [A-Za-z0-9_], i 
wrote this JIRA Ticket AVRO-3532 in order to change documentation ({_}make it 
says what code accept{_}). For some languages (Java, C#), i add unit test (it 
already accept chinese names for example) and for other (rust, C), i have to 
also update the code.
This way ({_}change doc and not code{_}) would avoid to have a breaking change 
({_}For those who read the code prior to read the documentation at least{_}, ;) 
)

> The following invalid schema is accepted by the java implementation
> -------------------------------------------------------------------
>
>                 Key: AVRO-3647
>                 URL: https://issues.apache.org/jira/browse/AVRO-3647
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.11.1
>            Reporter: Daniel Collins
>            Priority: Major
>
> ```
> {
>   "name": "123abc.hello",
>   "type": "record",
>   "namespace": "my.ns",
>   "fields": [
>     {
>       "name": "id",
>       "type": "string"
>     }
>   ]
> }
> ```



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

Reply via email to