protected boolean shouldRollToNewFile(TaskDataWriter<T> dataWriter) {
      return dataWriter.length() >= targetFileSize;
    }
Wrap the data as a {@link StructLike}.
amoro-format-iceberg/src/main/java/org/apache/amoro/io/writer/BaseTaskWriter.java