Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2606

C# Specific API doesn't handle multidimensional arrays of custom types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.1
    • 1.9.2
    • csharp
    • None
    • Fix errors surrounding the use of multidimensional arrays of custom types in the C# specific API

    Description

      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) is the array of arrays of Column that throws an exception like the following:

      Unable to find type System.Collections.Generic.IList`1[io.confluent.test.Column] in all loaded assemblies in field rows in field inserts
      

      Attachments

        Issue Links

          Activity

            People

              blachniet Brian Lachniet
              blachniet Brian Lachniet
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: