@Override
  public CloseableIterable<Record> readDeletedData() {
    Schema schema =
        new Schema(
            MetadataColumns.FILE_PATH,
            MetadataColumns.ROW_POSITION,
            org.apache.amoro.table.MetadataColumns.TREE_NODE_FIELD);
    AdaptHiveGenericKeyedDataReader reader = mixedTableDataReader(schema);
    return wrapIterator2Iterable(
        reader.readDeletedData(nodeFileScanTask(input.rePosDeletedDataFilesForMixed())));
  }
This class is a temporary implementation, as readData and readDeleteData need to read the delete
file twice. Later on, it will be changed to read the delete file only once. Can read both
Mixed-hive and Mixed-iceberg format.
amoro-format-mixed/amoro-mixed-hive/src/main/java/org/apache/amoro/hive/optimizing/MixedHiveOptimizingDataReader.java