Skip to content

Let arrow schemas specify the ENUM type from parquet schemas #7050

Open
@the80srobot

Description

@the80srobot

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

I am exporting data from an application using an Arrow schema - the data is then written into a parquet file. Some fields are logically enums, and I would like to export them as the ENUM type in Parquet, but there is currently no way to specify that.

Describe the solution you'd like

In parquet, ENUM is an annotation of a BYTE_ARRAY, similar to STRING. Unlike String, it's parametrized with the allowable values.

It sounds like it might be an extension type, as in #5822 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAny new improvement worthy of a entry in the changelog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions