Skip to content

DataType::Dictionary is out of spec #27

Closed
@jorgecarleitao

Description

@jorgecarleitao

Describe the bug

The 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions