Dave Craft created AVRO-3074:
--------------------------------

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

Lets say you have an avro file like in the attachment.

 

The namespace ends with .return. The Mangler will turn this into .@return. Then 
during deserialization you get an exception as follows:

```

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

```

I have worked out what the issue is and have a commit with a possible fix.. 
mainly though I've used to as a better way to describe the issue.. 

see this commit for the issue and possible fix.

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

 

 

 



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

Reply via email to