No, LogicalType is a part (or an attribute) of GroupType so you might get a LogicalTypeAnnotation from a GroupType but not the opposite.
On Wed, Mar 26, 2025 at 10:45 AM marc nicole <mk1853...@gmail.com> wrote: > I have a LogicalTypeAnnotation.StringLogicalTypeAnnotation created through > stringType() ( > > https://www.javadoc.io/doc/org.apache.parquet/parquet-column/latest/org/apache/parquet/schema/LogicalTypeAnnotation.html > ) > ( > > https://www.javadoc.io/doc/org.apache.parquet/parquet-column/latest/org/apache/parquet/schema/LogicalTypeAnnotation.StringLogicalTypeAnnotation.html > ) > > Is there a way to convert it to Type > > https://www.javadoc.io/doc/org.apache.parquet/parquet-column/latest/org/apache/parquet/schema/GroupType.html > > Thanks. >