private CloseableIterable<Record> openDeletes(PrimaryKeyedFile deleteFile) {
    InputFile input = getInputFile(deleteFile.path().toString());
    Map<Integer, Object> idToConstant = new HashMap<>();
    idToConstant.put(MetadataColumns.TRANSACTION_ID_FILED_ID, deleteFile.transactionId());
    switch (deleteFile.format()) {
      case AVRO:
        return Avro.read(input)
            .project(deleteSchema)
            .reuseContainers()
            .createReaderFunc(
                fileSchema -> DataReader.create(deleteSchema, fileSchema, idToConstant))
            .build();

      case PARQUET:
        return openParquet(input, deleteSchema, idToConstant);

      case ORC:
        return ORC.read(input)
            .project(deleteSchema)
            .createReaderFunc(
                fileSchema -> GenericOrcReader.buildReader(deleteSchema, fileSchema, idToConstant))
            .build();
      default:
        throw new UnsupportedOperationException(
            String.format(
                "Cannot read deletes, %s is not a supported format: %s",
                deleteFile.format().name(), deleteFile.path()));
    }
  }
@return The data in equity delete file
amoro-format-iceberg/src/main/java/org/apache/amoro/io/reader/MixedDeleteFilter.java