Skip to content

[Parquet]There should be an encoding counter to know how many encodings the repo supports in total #8662

@hhhizzz

Description

@hhhizzz

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

Related to: #8607
Since the Encoding method for the parquet can vary in the future, the implementation of the encoding array in upon PR is not safe, we should find some method to know how many Encoding is support in the repo.

Describe the solution you'd like

Update the macro to count the enum, and then add a UT in the decoder.rs

Describe alternatives you've considered

  • Use strum crate to do so, but new dependency may encounter new issue.

Additional context

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