You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Kyle Schoonover (Jira)" <ji...@apache.org> on 2022/03/18 16:58:00 UTC
[jira] [Commented] (AVRO-3021) c# apache avro codegen - generated invalid class file for nullable DateTime type field
[ https://issues.apache.org/jira/browse/AVRO-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17508935#comment-17508935 ]
Kyle Schoonover commented on AVRO-3021:
---------------------------------------
[~sumanth paluru] Do you have an example file to test with?
> 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.20.1#820001)