diff --git a/rust/parquet/src/arrow/array_reader.rs b/rust/parquet/src/arrow/array_reader.rs index b3fb27126d85f..650ccbee37830 100644 --- a/rust/parquet/src/arrow/array_reader.rs +++ b/rust/parquet/src/arrow/array_reader.rs @@ -896,9 +896,9 @@ impl<'a> ArrayReaderBuilder { >::new( page_iterator, column_desc, converter )?)) - } else if let Some(ArrowType::Dictionary(index_type, _)) = arrow_type + } else if let Some(ArrowType::Dictionary(key_type, _)) = arrow_type { - match **index_type { + match **key_type { ArrowType::Int8 => { let converter = DictionaryConverter::new(DictionaryArrayConverter {});