Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.9.0, 1.8.2, 1.9.1
-
None
-
Patch, Important
Description
Avro Schema Reserved Keys:
"doc", "fields", "items", "name", "namespace",
"size", "symbols", "values", "type", "aliases", "default"
AVRO also supports user defined properties for both Schema and Field.
Is there way to get the schema with reserved property (key, value)?
Input Schema:
{ "name": "testSchema", "namespace": "com.avro", "type": "record", "fields": [ { "name": "email", "type": "string", "doc": "email id", "user_field_prop": "xxxxx" } ], "user_schema_prop": "xxxxxx" }
Expected Plain Schema:
{ "name": "testSchema", "namespace": "com.avro", "type": "record", "fields": [ { "name": "email", "type": "string", "doc": "email id" } ] }