diff --git a/ocf/ocf_test.go b/ocf/ocf_test.go index 38a462b..200a779 100644 --- a/ocf/ocf_test.go +++ b/ocf/ocf_test.go @@ -1074,6 +1074,7 @@ func TestWithSchemaMarshaler(t *testing.T) { "name": "meta", "type": { "type": "array", + "logicalType": "map", "items": { "type": "record", "name": "FooMetadataEntry", diff --git a/ocf/testdata/full-schema.json b/ocf/testdata/full-schema.json index a1b5999..003d072 100644 --- a/ocf/testdata/full-schema.json +++ b/ocf/testdata/full-schema.json @@ -35,7 +35,8 @@ "field-id": 5 } ] - } + }, + "logicalType": "map" }, "field-id": 3 }