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

Thiruvalluvan M. G. commented on AVRO-251:
------------------------------------------

It's unfortunate that if you serialize an Avro schema using JSON encoder and 
schema for schema, it won't match the standard JSON version of the schema. I 
don't think it'll be possible to fix the JSON encoder to match the standard 
JSON version. But we can do the other way around. Though it's desirable to have 
this property, it'll be cause incompatibility with the existing schemas and I 
think the schema will become harder for humans to read.

Since the "order" field of the record is optional, it should be a union of null 
and Enum in the schema.


> add schema for schemas
> ----------------------
>
>                 Key: AVRO-251
>                 URL: https://issues.apache.org/jira/browse/AVRO-251
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.3.0
>
>         Attachments: AVRO-251.patch, AVRO-251.patch
>
>
> A schema for schemas would permits schemas to be written in binary.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to