Robert Yokota created AVRO-3613:
-----------------------------------

             Summary: 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
         Environment: Unions cannot have more than one logical type in C#.

The following code fails

```

Schema schema = Schema.Parse(
"[\"null\",\n" +
" \{ \"type\": \"int\", \"logicalType\": \"date\" },\n" +
" \{ \"type\": \"long\", \"logicalType\": \"timestamp-millis\" }\n" +
"]");```

The error is `Avro.SchemaParseException : Duplicate type in union: logical at 
'[2]'`
            Reporter: Robert Yokota






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

Reply via email to