You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/13 18:38:00 UTC
[jira] [Updated] (AVRO-3110) Infinite Recursion
[ https://issues.apache.org/jira/browse/AVRO-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated AVRO-3110:
---------------------------------
Labels: pull-request-available (was: )
> Infinite Recursion
> ------------------
>
> Key: AVRO-3110
> URL: https://issues.apache.org/jira/browse/AVRO-3110
> Project: Apache Avro
> Issue Type: Bug
> Components: csharp
> Affects Versions: 1.10.2
> Environment: Windows
> Reporter: Ebere Abanonu
> Assignee: Ebere Abanonu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {code:java}
> Test Name: AvroSchemaGenerator.Tests.GetSchemaTest.TestRecursiveSchema
> Test Outcome: Passed
> Result StandardOutput: {"type":"record","namespace":"AvroSchemaGenerator.Tests","name":"Recursive","fields":[{"name":"Fo","type":["null",{"type":"record","namespace":"AvroSchemaGenerator.Tests","name":"SimpleFoo","fields":[{"name":"Age","type":"int"},{"name":"Name","type":"string"},{"name":"FactTime","type":"long"},{"name":"Point","type":"double"},{"name":"Precision","type":"float"},{"name":"Attending","type":"boolean"},{"name":"Id","type":["null","bytes"],"default":null}]}],"default":null},{"name":"Recurse","type":["null","Recursive"],"default":null}]}
> //ClassCache
> AddClassNameMapItem(rs, objType);
> var c = GetClass(rs);
> foreach (var f in rs.Fields)
> {
> var t = c.GetPropertyType(f);
> LoadClassCache(t, f.Schema);
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)