Created 08-11-2017 03:18 PM
schema handles nulls, doesn't work.
Hortonworks Schema Registry says schema is okay.
Example Data
...
"field1" : null, "field2" : false, "field5" : null, "field3" : null, "field4" : null,
...
Example Schema
...
{
"name": "field1",
"type": [
"null",
"string"
]
},
There's also a boolean that gets null so that's defined as
"name": "field5",
"type": {
"type": "array",
"items": {
"type": "record",
"name": "fieldx",
"fields": [
{
"name": "fieldx1",
"type": [
"null",
"boolean"
]
}
]
}
}
},
Created 08-11-2017 04:44 PM
What are you converting to, and what error are you getting?