apache / paimon

Apache Paimon is a lake format that enables building a Realtime Lakehouse Architecture with Flink and Spark for both streaming and batch operations.
https://paimon.apache.org/
Apache License 2.0
2.43k stars 954 forks source link

[core] add deletedFileTotalSizeInBytes in result of OrphanFilesClean #4545

Open wwj6591812 opened 2 days ago

wwj6591812 commented 2 days ago

Purpose

In my company, after we run a RemoveOrphanFilesAction, we not only want to know the number of orphan files that have been cleared, but also want to know how much capacity has been cleared.

This pr add deletedFileTotalSizeInBytes in result of OrphanFilesClean.

Linked issue: close #xxx

Tests

API and Format

Documentation

wwj6591812 commented 20 hours ago

@JingsongLi Hi, please cc, Thx. The failed UT was not caused by my modifications.