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

Doug Cutting commented on AVRO-1485:
------------------------------------

This is a bug in the specification.  It should really just say, "a schema, as 
defined above" or somesuch.  That current specification does not even permit 
unions, since they're JSON arrays, not objects or strings.

> Specification says Record field type can be record name but implementation 
> allows any named type.
> -------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-1485
>                 URL: https://issues.apache.org/jira/browse/AVRO-1485
>             Project: Avro
>          Issue Type: Bug
>          Components: java, spec
>    Affects Versions: 1.7.6
>            Reporter: Sean Busbey
>
> The [specification for Record 
> fields|http://avro.apache.org/docs/1.7.6/spec.html#schema_record] says that 
> the type is
> bq. A JSON object defining a schema, or a JSON string naming a record 
> definition (required).
> AFAICT, the Java implementation allows for any [named 
> type|http://avro.apache.org/docs/1.7.6/spec.html#Names].
> The specification should be updated to state any named type is allowed or the 
> Java implementation should restrict what can be used. The former seems less 
> likely to disturb current users.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to