crooked-wolf-53758
10/14/2021, 4:26 PMhelpful-optician-78938
10/14/2021, 5:06 PMdatahub ingest -c <your_recipe.yml>crooked-wolf-53758
10/14/2021, 5:20 PM{
"my_array": [
{
"a": 11,
"b": "whatever"
},
{
"a": 27,
"b": null
},
{
"a": 11,
"b": 27
}
]
}crooked-wolf-53758
10/14/2021, 5:22 PM{
"type": "object",
"properties": {
"my_array": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"a": {
"type": "integer"
},
"b": {
"type": "string",
"format": "unnamed-format"
}
},
"required": [
"a",
"b"
]
},
{
"type": "object",
"properties": {
"a": {
"type": "integer"
},
"b": {
"type": "null"
}
},
"required": [
"a"
]
},
{
"type": "object",
"properties": {
"a": {
"type": "integer"
},
"b": {
"type": "integer"
}
},
"required": [
"a",
"b"
]
}
]
}
}
},
"required": [
"my_array"
]
}crooked-wolf-53758
10/14/2021, 5:22 PMmy_array and a and b in the catalog after ingesting the json schemamammoth-bear-12532
schema_util.py for avro