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