protected EncryptionManager encryptionManager() {
    if (table.isKeyedTable()) {
      return table.asKeyedTable().baseTable().encryption();
    } else {
      return table.asUnkeyedTable().encryption();
    }
  }
An abstract OptimizingExecutor implementation that rewrites the rewrittenDataFiles in
RewriteInput and generates new position delete for rePosDeletedDataFiles.
amoro-format-iceberg/src/main/java/org/apache/amoro/optimizing/AbstractRewriteFilesExecutor.java