-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Description
The following schema parses fine with Python Avro but in avro-rs, Schema::parse_str() rejects it with Error: ParsePrimitive("Dec"):
{
"type": "record",
"name": "foo",
"fields": [
{
"name": "x",
"type": {
"type": "record",
"name": "Dec",
"fields": [
{
"name": "base",
"type": "int"
},
{
"name": "exp",
"type": "int"
}
]
}
},
{
"name": "y",
"type": "Dec"
}
]
}
The part of the Avro spec describing references to named types is here: https://avro.apache.org/docs/current/spec.html#names
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels