goavro icon indicating copy to clipboard operation
goavro copied to clipboard

Error Type

Open maarek opened this issue 6 years ago • 1 comments

"error" is a valid type according to the Avro Schema document and IDL.

https://avro.apache.org/docs/current/spec.html#Protocol+Declaration https://avro.apache.org/docs/current/idl.html#format_records

{
    "type" : "error",
    "name" : "Exception",
    "namespace" : "com.example",
     "doc" : "Struct that contains error information",
     "fields" : [ ],
}

maarek avatar Mar 27 '19 02:03 maarek

So it is. I do not think the error type is supported under the earlier release of the spec. We definitely need to add this to stay current with the continually evolving Avro specification.

karrick avatar May 21 '19 19:05 karrick