@Test
  public void testReadParquetFileProducedByImpalaWithFilter() {
    NameMapping mapping = NameMapping.of(MappedField.of(1, "str"));
    Schema schema = new Schema(Types.NestedField.of(1, true, "str", Types.StringType.get()));
    AdaptHiveParquet.ReadBuilder builder =
        AdaptHiveParquet.read(Files.localInput(loadParquetFilePath()))
            .project(schema)
            .withNameMapping(mapping)
            .filter(Expressions.in("str", "aa"))
            .createReaderFunc(
                fileSchema ->
                    AdaptHiveGenericParquetReaders.buildReader(schema, fileSchema, new HashMap<>()))
            .caseSensitive(false);
    CloseableIterator<Object> iterator = builder.build().iterator();
    Assert.assertEquals(0, Iterators.size(iterator));
  }
Impala may write string type column with binary value in parquet file, which is okay for Hive
readers, We need to support it too for mixed-hive format tables.
amoro-format-mixed/amoro-mixed-hive/src/test/java/org/apache/amoro/hive/io/TestImpalaParquet.java