public <T> Writer add(String type, T data, DataSerializer<T> serializer) {
      return add(type, serializer.serialize(data));
    }
Util class for write and read Iceberg statistics file {@link StatisticsFile}.
amoro-format-iceberg/src/main/java/org/apache/amoro/utils/StatisticsFileUtil.java