public void delete(CharSequence path, long pos) {
    if (currentDeleteWriter == null) {
      throw new IllegalStateException("Please set tree node first");
    }
    currentDeleteWriter.delete(path, pos);
  }
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