[ 
https://issues.apache.org/jira/browse/AVRO-3613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597830#comment-17597830
 ] 

ASF subversion and git services commented on AVRO-3613:
-------------------------------------------------------

Commit a60b748c1694dcf3fd2b617e75fcc9c1634fd150 in avro's branch 
refs/heads/branch-1.11 from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=a60b748c1 ]

AVRO-3001 AVRO-3274 AVRO-3568 AVRO-3613: Add JSON encoder/decoder for C#

Remove Encoder#Flush() method for backward compatibility

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>


> Unions cannot have more than one logical type in C#
> ---------------------------------------------------
>
>                 Key: AVRO-3613
>                 URL: https://issues.apache.org/jira/browse/AVRO-3613
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>            Reporter: Robert Yokota
>            Assignee: Robert Yokota
>            Priority: Major
>             Fix For: 1.12.0
>
>
> Unions cannot have more than one logical type in C#.
> The following code fails:
> {code:java}
> Schema schema = Schema.Parse(
> "[\"null\",\n" +
> " { \"type\": \"int\", \"logicalType\": \"date\" },\n" +
> " { \"type\": \"long\", \"logicalType\": \"timestamp-millis\" }\n" +
> "]");{code}
>  
> The error is
> {code:java}
>  Avro.SchemaParseException : Duplicate type in union: logical at '[2]'{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to