@Test
  public void testReadParquetFileProducedByImpala() {
    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)
            .createReaderFunc(
                fileSchema ->
                    AdaptHiveGenericParquetReaders.buildReader(schema, fileSchema, new HashMap<>()))
            .caseSensitive(false);
    for (Object o : builder.build()) {
      Record next = (Record) o;
      Assert.assertEquals("hello parquet", next.get(0));
    }
  }
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