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 subversion and git services (Jira)" <ji...@apache.org> on 2021/09/13 19:42:00 UTC
[jira] [Commented] (AVRO-3075) Avro.AvroException namespaces with
reserved words cause deserialisation issue when inside an array.
[ https://issues.apache.org/jira/browse/AVRO-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414546#comment-17414546 ]
ASF subversion and git services commented on AVRO-3075:
-------------------------------------------------------
Commit b815566e0f3ad3840588019b4cad6f3b6fb54971 in avro's branch refs/heads/master from dc154p
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=b815566 ]
AVRO-3075: fix finding mangled types
> 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 'Avro.Test.Specific.@return.ArrayItem' 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)