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

sumanth paluru updated AVRO-3021:
---------------------------------
    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;

  was:
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;


> 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
>            Priority: Major
>
> 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;



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

Reply via email to