[
https://issues.apache.org/jira/browse/AVRO-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía reassigned AVRO-2645:
----------------------------------
Assignee: Daniel Orner
> Ruby Avro does not validate record names
> ----------------------------------------
>
> Key: AVRO-2645
> URL: https://issues.apache.org/jira/browse/AVRO-2645
> Project: Apache Avro
> Issue Type: Bug
> Components: ruby
> Affects Versions: 1.9.1
> Reporter: Daniel Orner
> Assignee: Daniel Orner
> Priority: Minor
> Fix For: 1.10.0
>
>
> Currently, the following Avro schema is considered valid and throws no errors:
> {code:java}
> {
> "type": "record",
> "name": "my-schema",
> "fields": [
> {
> "name": "id",
> "type": "long"
> }
> ]
> }
> {code}
> However, according to the Avro specification, names must:
> * start with [A-Za-z_]
> * subsequently contain only [A-Za-z0-9_]
> When using e.g. the Confluent Schema Registry, registering this schema fails
> because the Java Avro client correctly identifies this as an invalid schema.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)