yongkyunlee opened a new issue, #8253:
URL: https://github.com/apache/arrow-rs/issues/8253
**Describe the bug**
When you try to decode data with schema like
```json
{
"name": "map_of_strings",
"type": {
"type": "map",
"values": "string"
},
"doc": "Map with string values"
}
```
Decoder fails with the following error
```
InvalidArgumentError("column types must match schema types, expected
Map(Field { name: \"entries\", data_type: Struct([Field { name: \"key\",
data_type: Utf8, nullable: false, dict_id: 0, dict_is_ordered: false, metadata:
{} }, Field { name: \"value\", data_type: Utf8, nullable: false, dict_id: 0,
dict_is_ordered: false, metadata: {} }]), nullable: false, dict_id: 0,
dict_is_ordered: false, metadata: {} }, false) but found Map(Field { name:
\"entries\", data_type: Struct([Field { name: \"key\", data_type: Utf8,
nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field {
name: \"value\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered:
false, metadata: {} }]), nullable: false, dict_id: 0, dict_is_ordered: false,
metadata: {} }, false) at column index 0")
```
**To Reproduce**
You can reproduce with a simple unit test with the schema above.
**Additional context**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]