You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "sumanth paluru (Jira)" <ji...@apache.org> on 2021/01/06 07:49:00 UTC

[jira] [Created] (AVRO-3021) c# apache avro codegen - generated invalid class file for nullable DateTime type field

sumanth paluru created AVRO-3021:
------------------------------------

             Summary: c# apache avro codegen - generated invalid class file for nullable DateTime type field
                 Key: AVRO-3021
                 URL: https://issues.apache.org/jira/browse/AVRO-3021
             Project: Apache Avro
          Issue Type: Bug
          Components: csharp
    Affects Versions: 1.9.2
            Reporter: sumanth paluru


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 valus set to statusDate is in incorrect format.

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)