I want to create an ENUM object ( LogicalTypeAnnotation.EnumLogicalTypeAnnotation <https://www.javadoc.io/static/org.apache.parquet/parquet-column/1.15.0/org/apache/parquet/schema/LogicalTypeAnnotation.EnumLogicalTypeAnnotation.html> )
How to do that using LogicalTypeAnnotation <https://www.javadoc.io/static/org.apache.parquet/parquet-column/1.15.0/org/apache/parquet/schema/LogicalTypeAnnotation.EnumLogicalTypeAnnotation.html> ? I see that is enumType <https://www.javadoc.io/static/org.apache.parquet/parquet-column/1.15.0/org/apache/parquet/schema/LogicalTypeAnnotation.html#enumType--> () but without the parameters (the ENUM constants). Also, in order to retrieve the ENUMs from a LogicalTypeAnnotation.EnumLogicalTypeAnnotation <https://www.javadoc.io/static/org.apache.parquet/parquet-column/1.15.0/org/apache/parquet/schema/LogicalTypeAnnotation.EnumLogicalTypeAnnotation.html> object: is that correct to do : LogicalTypeAnnotation().toOriginalType <https://www.javadoc.io/static/org.apache.parquet/parquet-column/1.15.0/org/apache/parquet/schema/LogicalTypeAnnotation.html#toOriginalType--> ().values()? Thanks for clarifying.
