yongkyunlee opened a new issue, #8270: URL: https://github.com/apache/arrow-rs/issues/8270
**Describe the bug** Decoder flush panics when the value field of a map type contains metadata (e.g. enum type) **To Reproduce** When we generate avro data with a map field whose value type is enum, the decoder panics at flush with an error like below ``` thread 'reader::record::tests::test_map_entries_with_enum_value' panicked at arrow-array/src/array/map_array.rs:132:64: called `Result::unwrap()` on an `Err` value: InvalidArgumentError("MapArray expected data type Struct(key Utf8, value Dictionary(Int32, Utf8)) got Struct(key Utf8, value Dictionary(Int32, Utf8)) for \"entries\"") ``` **Expected behavior** Flush should be successful with any valid `value` field type of a map. **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: github-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org