Skip to content

Commit

Permalink
update ocf_test.go to verify that ocf.FullSchemaMarshaler can retain …
Browse files Browse the repository at this point in the history
…unrecognized logicalType attributes
  • Loading branch information
jhump committed Oct 11, 2024
1 parent 509e3e3 commit 767e78a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ocf/ocf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,7 @@ func TestWithSchemaMarshaler(t *testing.T) {
"name": "meta",
"type": {
"type": "array",
"logicalType": "map",
"items": {
"type": "record",
"name": "FooMetadataEntry",
Expand Down
3 changes: 2 additions & 1 deletion ocf/testdata/full-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"field-id": 5
}
]
}
},
"logicalType": "map"
},
"field-id": 3
}
Expand Down

0 comments on commit 767e78a

Please sign in to comment.