Dave Craft created AVRO-3075:
--------------------------------

             Summary: Avro.AvroException namespaces with reserved words cause 
deserialisation issue when inside an array.
                 Key: AVRO-3075
                 URL: https://issues.apache.org/jira/browse/AVRO-3075
             Project: Apache Avro
          Issue Type: Bug
          Components: csharp
    Affects Versions: 1.10.1
            Reporter: Dave Craft
         Attachments: ComplexTypeWithReservedWords.avsc

Given the attached avro file.. when using avrogen and the specific deserializer 
I'm getting an exception:

 

Avro.AvroException : Unable to find type '[email protected]' 
in all loaded assemblies in field ArrayItems

 

I have looked into it and it seems to be that when FInding types it's not 
considering mangled type names.. I have a fix available here:



[https://github.com/CraftyFella/avro/commit/f3d66efe84cd194f3c98715d90945e277e43a408]

 

This commit has a failing test and a fix for that test.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to