Hi developers,

Currently, when we execute expired snapshots, we only consider the TTL as a
factor. However, Iceberg supports setting a minimum number of snapshots to
retain. I believe we should also make this configuration option
available(eg. `snapshot.base.keep.min-count`). For developers and table
users, these snapshots can be understood as the update logs of the table,
making it easier for users to review the history of updates. If there are
no updates for an extended period, Amoro may only retain a single snapshot
after cleanup, which could result in a loss of information for users.

In addition, the Iceberg community is also working on retaining more
historical snapshot information in an additional folder. I believe this is
a significant requirement

Best regards,
Xu Bai

Reply via email to