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

C# implmenetation of GenericRecord Doesn't have

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: csharp
    • Labels:
      None

      Description

      GenericRecord in C# can only be accessed by field name and not by field index (Java version support access by index). Accessing a dictionary for each field is costly.

      In Java There is: Record.put(int i, Object v). In C# GenericRecord there is only: Add(string fieldName, object fieldValue) (and string indexer).

       

      And there is no way to extend GenericRecord to support indexed access.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                YanivRu Yaniv Rubinpur
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: