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 2019/11/05 01:37:00 UTC

[jira] [Commented] (AVRO-2606) C# Specific API doesn't handle multidimensional arrays of custom types

    [ https://issues.apache.org/jira/browse/AVRO-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967144#comment-16967144 ] 

ASF subversion and git services commented on AVRO-2606:
-------------------------------------------------------

Commit 62bdc83e46fbd65d34a1715c1bcc53fa5d1919fa in avro's branch refs/heads/master from Brian Lachniet
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=62bdc83 ]

AVRO-2606: Fix C# multidimensional array errors (#699)

Fix errors surrounding the use of multidimensional arrays of custom
record types in the C# specific API.

> C# Specific API doesn't handle multidimensional arrays of custom types
> ----------------------------------------------------------------------
>
>                 Key: AVRO-2606
>                 URL: https://issues.apache.org/jira/browse/AVRO-2606
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>    Affects Versions: 1.9.1
>            Reporter: Brian Lachniet
>            Assignee: Brian Lachniet
>            Priority: Major
>             Fix For: 1.10.0, 1.9.2
>
>
> The Specific API in the C# bindings does not property handle multidimensional arrays of custom types. For example, it does not handle an array of arrays of {{User}} (where {{User}} is a record type we defined in our schema).
> This was originally identified and addressed in the Confluent fork here: https://github.com/confluentinc/avro/pull/11.
> This is the schema that demonstrates this issue: https://gist.github.com/mhowlett/1d7518c23c8f5462a6d1ebbe81cbffb6. Specifically, {{deletes.rows}} ([here|https://gist.github.com/mhowlett/1d7518c23c8f5462a6d1ebbe81cbffb6#file-gistfile1-txt-L387]) is the array of arrays of {{Column}} that throws an exception like the following:
> {code}
> Unable to find type System.Collections.Generic.IList`1[io.confluent.test.Column] in all loaded assemblies in field rows in field inserts
> {code}



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