This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-cpp.git
from 6b9eb68 feat(cmake): introduce build configuration (#127)
add e5aa957 feat(operation): introduce cleanup operations (#128)
No new revisions were added by this update.
Summary of changes:
include/paimon/orphan_files_cleaner.h | 197 ++++++++++++
.../{metrics => }/commit_metrics_test.cpp | 13 +-
src/paimon/core/operation/expire_snapshots.cpp | 337 +++++++++++++++++++++
src/paimon/core/operation/expire_snapshots.h | 83 +++++
.../core/operation/expire_snapshots_test.cpp | 255 ++++++++++++++++
.../paimon/core/operation/metrics/clean_metrics.h | 32 +-
src/paimon/core/operation/orphan_files_cleaner.cpp | 216 +++++++++++++
.../core/operation/orphan_files_cleaner_impl.cpp | 314 +++++++++++++++++++
.../core/operation/orphan_files_cleaner_impl.h | 100 ++++++
.../core/operation/orphan_files_cleaner_test.cpp | 283 +++++++++++++++++
10 files changed, 1803 insertions(+), 27 deletions(-)
create mode 100644 include/paimon/orphan_files_cleaner.h
copy src/paimon/core/operation/{metrics => }/commit_metrics_test.cpp (82%)
create mode 100644 src/paimon/core/operation/expire_snapshots.cpp
create mode 100644 src/paimon/core/operation/expire_snapshots.h
create mode 100644 src/paimon/core/operation/expire_snapshots_test.cpp
copy include/paimon/format/reader_builder.h =>
src/paimon/core/operation/metrics/clean_metrics.h (51%)
create mode 100644 src/paimon/core/operation/orphan_files_cleaner.cpp
create mode 100644 src/paimon/core/operation/orphan_files_cleaner_impl.cpp
create mode 100644 src/paimon/core/operation/orphan_files_cleaner_impl.h
create mode 100644 src/paimon/core/operation/orphan_files_cleaner_test.cpp