@Override
  public KeyedPartitionRewrite updateOptimizedSequenceDynamically(long sequence) {
    this.optimizedSequence = sequence;
    return this;
  }
Replace {@link BaseTable} partition files and change max transaction id map
amoro-format-iceberg/src/main/java/org/apache/amoro/op/KeyedPartitionRewrite.java