public long getSizeOfFileOnDiskInBytes() {
    return diskBasedMap.map(SimpleSpilledMap::sizeOfFileOnDiskInBytes).orElse(0L);
  }
Number of bytes spilled to disk.
amoro-format-iceberg/src/main/java/org/apache/amoro/utils/map/SimpleSpillableMap.java