Skip to content

Commit 93989da

Browse files
authored
chore: add missing snapshot summary fields (#520)
per spec https://iceberg.apache.org/spec/#optional-snapshot-summary-fields
1 parent a457099 commit 93989da

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/iceberg/snapshot.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,14 @@ struct ICEBERG_EXPORT SnapshotSummaryFields {
226226
inline static const std::string kDeletedDuplicatedFiles = "deleted-duplicate-files";
227227
/// \brief Number of partitions with files added or removed in the snapshot
228228
inline static const std::string kChangedPartitionCountProp = "changed-partition-count";
229+
/// \brief Number of manifest files created in the snapshot
230+
inline static const std::string kManifestsCreated = "manifests-created";
231+
/// \brief Number of manifest files kept in the snapshot
232+
inline static const std::string kManifestsKept = "manifests-kept";
233+
/// \brief Number of manifest files replaced in the snapshot
234+
inline static const std::string kManifestsReplaced = "manifests-replaced";
235+
/// \brief Number of manifest entries processed in the snapshot
236+
inline static const std::string kEntriesProcessed = "entries-processed";
229237
/// \brief Partition summaries prefix
230238
inline static const std::string kChangedPartitionPrefix = "partitions.";
231239
/// \brief Whether partition summaries are included

0 commit comments

Comments
 (0)