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

Erik van Oosten commented on AVRO-2022:
---------------------------------------

After working with this change for some time we decided to abandon this idea 
and change the schema after all. The problem is that much code generation tools 
assume they can create method {{Schema getSchema()}}. Unfortunately this 
collides with the value we want it to return.

> IDL does not allow `schema` as identifier
> -----------------------------------------
>
>                 Key: AVRO-2022
>                 URL: https://issues.apache.org/jira/browse/AVRO-2022
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.7, 1.8.1
>            Reporter: Erik van Oosten
>
> The keyword {{schema}} is now allowed as escaped identifier in IDL. E.g. the 
> following does not compile:
> {noformat}
> record {
>    string `schema`;
> }
> {noformat}
> Patches are available for the master branch: 
> https://github.com/apache/avro/pull/209 and 1.7 branch: 
> https://github.com/apache/avro/pull/211



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to