Description
record unions (see: src/testFixtures/avro/schemas/incompatible/union_two_records.json)
Avro allows to have:
{"name": "payload", "type": [{
"type": "record",
"name": "TypeA",
"fields": [
{"name": "label", "type": "string"}
]
}, {
"type": "record",
"name": "TypeB",
"fields": [
{"name": "count", "type": "int"}
]
}]
The only matching type in ClickHouse is JSON because it has no restrictions on value schema.
Dynamic and Variant is not a match for complex objects.
Description
record unions (see: src/testFixtures/avro/schemas/incompatible/union_two_records.json)
Avro allows to have:
The only matching type in ClickHouse is JSON because it has no restrictions on value schema.
Dynamic and Variant is not a match for complex objects.