private static boolean isLogicalUuid(LogicalTypeAnnotation annotation) {
    return Optional.ofNullable(annotation)
        .flatMap(
            logicalTypeAnnotation ->
                logicalTypeAnnotation.accept(
                    new LogicalTypeAnnotationVisitor<Boolean>() {
                      @Override
                      public Optional<Boolean> visit(UUIDLogicalTypeAnnotation uuidLogicalType) {
                        return Optional.of(TRUE);
                      }
                    }))
        .orElse(FALSE);
  }
Copy from trino-parquet ColumnReaderFactory and do some change to adapt mixed-format table
amoro-format-mixed/amoro-mixed-trino/src/main/java/io/trino/parquet/reader/ColumnReaderFactory.java