You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "David McIntosh (JIRA)" <ji...@apache.org> on 2013/05/16 19:27:16 UTC

[jira] [Updated] (AVRO-823) Support Avro data files in C#

     [ https://issues.apache.org/jira/browse/AVRO-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David McIntosh updated AVRO-823:
--------------------------------

    Attachment: AVRO-823.patch

I made several adjustments to help push this through.

Fixes:
* Removed dependency on updated Newtonsoft libs
* Removed test case that was failing due to differences in deflate implementation performance. Added a new test that tests similar operations without relying on a specific output from the deflate codec.
* Changed encoding of long values in metadata to a string to match the java version
* SpecificReader was not accounting for enum differences between reader and writer schemas

Adjustments:
* Allowed specifying reader schema when reading a data file
* Removed need to call WriteHeader before appending
* Implemented IDisposable so a using block can be used
* Unit tests write to a memory stream instead of random temp files
* Made the static schema on code generated classes public to match the java version
* Moved enumeration to a .NextEntries property. Having it directly on the reader meant that foreach would dispose the reader after enumerating which was not always appropriate. The direct implementation of IEnumerator was also not completely correct because calling IEnumerator.Current was advancing to the next entry.


                
> Support Avro data files in C#
> -----------------------------
>
>                 Key: AVRO-823
>                 URL: https://issues.apache.org/jira/browse/AVRO-823
>             Project: Avro
>          Issue Type: New Feature
>          Components: csharp
>    Affects Versions: 1.5.1, 1.6.3, 1.7.0
>            Reporter: Patrick Angeles
>              Labels: c-sharp,, container, file, object
>         Attachments: AVRO-823.patch, AVRO-823.patch, AVRO-823.patch
>
>
> Currently, the C# implementation does not handle reading and writing of Avro data files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira