[
https://issues.apache.org/jira/browse/AVRO-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Craft updated AVRO-3075:
-----------------------------
Description:
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, mainly though
it's to help you understand the issue, as it might not be the best solution.
[https://github.com/apache/avro/pull/1131]
was:
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.
> 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
> Priority: Minor
> Labels: pull-request-available
> 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, mainly though
> it's to help you understand the issue, as it might not be the best solution.
> [https://github.com/apache/avro/pull/1131]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)