You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Daniel Kulp (Jira)" <ji...@apache.org> on 2020/05/22 12:38:00 UTC
[jira] [Resolved] (AVRO-2782) C# implmenetation of GenericRecord
Doesn't have
[ https://issues.apache.org/jira/browse/AVRO-2782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved AVRO-2782.
-------------------------------
Fix Version/s: 1.10.0
Resolution: Fixed
> C# implmenetation of GenericRecord Doesn't have
> ------------------------------------------------
>
> Key: AVRO-2782
> URL: https://issues.apache.org/jira/browse/AVRO-2782
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Reporter: Yaniv Rubinpur
> Priority: Major
> Fix For: 1.10.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)