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

Doug Houck commented on AVRO-1285:
----------------------------------

Thinking a bit more about this request.... I am not sure it is a very good 
idea.  It is simple, of course, to see how this works from a Java 
implementation.  Java already supports circular references, so I thought maybe 
Avro could as well.  However, Avro is not Java.  Just consider the 
'getSchema().toString()' that this would cause.  Normally, you would get the 
completely de-referenced  schema of the object.  If Avro supported circular 
references, this would be infinitely long, continually bouncing back and forth 
between the references.  Changes could be made to still support how that is 
represented, but I am not sure I like the impact.

I think I am the original submitter of this ticket, via Viji.  If that is the 
case, I respectfully request closure of this issue... it just seems like a bad 
idea.
                
> Avro schema compile does not support circular reference
> -------------------------------------------------------
>
>                 Key: AVRO-1285
>                 URL: https://issues.apache.org/jira/browse/AVRO-1285
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Viji
>            Priority: Minor
>         Attachments: multipass.tar
>
>
> While declaring a Schema, doing a circular reference is not possible if the 
> Schema for the external reference is in another file. Attached is a project 
> that provides 2 schemas that exhibits this missing feature.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to