Rich-T-kid commented on issue #8016:
URL: https://github.com/apache/arrow-rs/issues/8016#issuecomment-4444805252
@brancz looking at `parquet/src/arrow/arrow_writer/mod.rs` it looks like
dictionary arrays are written out as their non-encoded flat form
```
ArrowDataType::Dictionary(_, value_type) => match value_type.as_ref() {
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(_) => {
out.push(bytes(leaves.next().unwrap())?)
}
```
wouldn't it be a good idea to support writing out dictionary arrays as
RLE_DICTIONARY in parquet?
--
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]