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

        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
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development