jorgecarleitao opened a new issue #27: URL: https://github.com/apache/arrow-rs/issues/27
**Describe the bug** The [schema.fbs](https://github.com/apache/arrow/blob/master/format/Schema.fbs) and corresponding generated code has no concept of a `Dictionary` datatype. However, we declare a `DataType::Dictionary`. **Additional context** As a user, I would like to be able to not have to change my `DataType` whenever I want to change an arrays' encoding. In the context of DataFusion, that uses `DataType` to declare the schema of the logical plan, this forbids optimizations at the physical level that e.g. would convert an array to a dictionary-encoded array, which is useful in any group-by or hashing operation. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
