private static boolean isIntegerAnnotation(LogicalTypeAnnotation typeAnnotation) {
    return typeAnnotation == null
        || typeAnnotation instanceof IntLogicalTypeAnnotation
        || isZeroScaleDecimalAnnotation(typeAnnotation);
  }
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