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

c# apache avro codegen - generated invalid class file for nullable DateTime type field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.2
    • None
    • csharp
    • None

    Description

      Hi,

      currently im using apache avro 1.9.2 nuget package in my solution to generate c# classes from avro files. an invalid class was generated for an avro which has nullable datatime logical type field. below is the error. the DatetTime value set to statusDate is in incorrect format.

      case 5: this.statusDate = (System.Nullable`1[System.DateTime])fieldValue; break;

      Attachments

        Activity

          People

            Unassigned Unassigned
            sumanth paluru sumanth paluru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: