vegarsti commented on code in PR #8069: URL: https://github.com/apache/arrow-rs/pull/8069#discussion_r2306667991
########## parquet/src/arrow/arrow_writer/mod.rs: ########## @@ -1058,21 +1058,29 @@ impl ArrowColumnWriterFactory { self.get_arrow_column_writer(f[1].data_type(), props, leaves, out)? } _ => unreachable!("invalid map type"), - } + }, ArrowDataType::Dictionary(_, value_type) => match value_type.as_ref() { - ArrowDataType::Utf8 | ArrowDataType::LargeUtf8 | ArrowDataType::Binary | ArrowDataType::LargeBinary => { - out.push(bytes(leaves.next().unwrap())?) - } + ArrowDataType::Utf8 + | ArrowDataType::LargeUtf8 + | ArrowDataType::Binary + | ArrowDataType::LargeBinary => out.push(bytes(leaves.next().unwrap())?), ArrowDataType::Utf8View | ArrowDataType::BinaryView => { out.push(bytes(leaves.next().unwrap())?) } - ArrowDataType::FixedSizeBinary(_) => { + ArrowDataType::FixedSizeBinary(_) => out.push(bytes(leaves.next().unwrap())?), + _ => out.push(col(leaves.next().unwrap())?), + }, + ArrowDataType::RunEndEncoded(_run_ends, value_type) => match value_type.data_type() { Review Comment: Great - thank you! -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org