private boolean shouldKeepFile(StructLike partition, long sequence) {
    if (biggerThanToSequence(sequence)) {
      return false;
    }
    if (fromSequence == null
        && (fromPartitionSequence == null || fromPartitionSequence.isEmpty())) {
      // if fromPartitionSequence is not set or is empty, return all change files
      return true;
    }
    Long fromSequence;
    if (table().spec().isUnpartitioned()) {
      fromSequence = scanFromSequence(TablePropertyUtil.EMPTY_STRUCT);
    } else {
      fromSequence = scanFromSequence(partition);
    }
    if (fromSequence != null) {
      return sequence > fromSequence;
    } else {
      return true;
    }
  }
Table scan for {@link ChangeTable}, support filter files with data sequence number and return
{@link BasicMixedFileScanTask}.
amoro-format-iceberg/src/main/java/org/apache/iceberg/MixedChangeTableScan.java