Avro
  1. Avro
  2. AVRO-807

Enhancements to .NET Implementation of Avro and some bug fixes

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.1
    • Component/s: csharp
    • Labels:
      None

      Description

      I made the following changes to the .NET implementation

      • make AvroGen class extensible to allow for custom enhancements to code generation
      • changed SpecificRecord class to ISpecificRecord interface to allow for multiple inheritance for generated classes
      • fixed a bug on mangling of reserved keywords
      • made ObjectCreator class extensible
      • fixed bug on duplicate field names
      1. AVRO-807.patch
        39 kB
        Dona Alvarez

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 37m 1 Doug Cutting 20/Apr/11 22:55
        Resolved Resolved Closed Closed
        15d 21h 18m 1 Doug Cutting 06/May/11 20:13
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Dona Alvarez added a comment -

        Thanks Doug. Process for renaming files noted.

        Show
        Dona Alvarez added a comment - Thanks Doug. Process for renaming files noted.
        Doug Cutting made changes -
        Component/s csharp [ 12314325 ]
        Doug Cutting made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.5.1 [ 12316197 ]
        Resolution Fixed [ 1 ]
        Hide
        Doug Cutting added a comment -

        I committed this. Thanks, Dona!

        In the future, when you rename files, it's best to use 'svn mv' and attach a shell script alongside the patch that has these svn commands, to make it easier for folks to apply your patch.

        Show
        Doug Cutting added a comment - I committed this. Thanks, Dona! In the future, when you rename files, it's best to use 'svn mv' and attach a shell script alongside the patch that has these svn commands, to make it easier for folks to apply your patch.
        Dona Alvarez made changes -
        Field Original Value New Value
        Attachment AVRO-807.patch [ 12476936 ]
        Hide
        Dona Alvarez added a comment -

        This patch adds new files:
        src/apache/codegen/AvroGen.cs
        src/apache/main/CodeGen/CodeGenUtil.cs

        as replacements for (respectively)
        src/apache/codegen/Program.cs
        src/apache/main/CodeGen/CodeGenExt.cs

        Show
        Dona Alvarez added a comment - This patch adds new files: src/apache/codegen/AvroGen.cs src/apache/main/CodeGen/CodeGenUtil.cs as replacements for (respectively) src/apache/codegen/Program.cs src/apache/main/CodeGen/CodeGenExt.cs
        Dona Alvarez created issue -

          People

          • Assignee:
            Dona Alvarez
            Reporter:
            Dona Alvarez
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development