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

Daniel Collins commented on AVRO-3647:
--------------------------------------

The name is invalid per the naming rules here:

[https://avro.apache.org/docs/1.11.1/specification/#names]

```

The name portion of the fullname of named types, record field names, and enum 
symbols must:
 * start with [A-Za-z_]
 * subsequently contain only [A-Za-z0-9_]

 

A namespace is a dot-separated sequence of such names.


```

> 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