private SortedPosDeleteWriter<T> generatePosDelete(DataTreeNode treeNode) {
    return new SortedPosDeleteWriter<>(
        appenderFactory,
        new CommonOutputFileFactory(
            location, spec, format, fileIO, encryptionManager, 0, 0, transactionId),
        fileIO,
        format,
        treeNode.mask(),
        treeNode.index(),
        partition);
  }
Positional delete file writer for iceberg tables. Write to different delete file for every data
file. The output delete files are named with pattern:
{data_file_name}-delete-{delete_file_suffix}.

@param <T> to indicate the record data type.
amoro-format-iceberg/src/main/java/org/apache/amoro/io/writer/MixedTreeNodePosDeleteWriter.java