Currently Iceberg produces snapshots and table metadata for each modification operation.
Plus it does not retire outdated data files. All these information is stored and in metadata folder and with time occupy lots of space. This Jira aims to expire outdated snapshots, table metadata and data files based on configured expiration period.
Iceberg has already mechanism to retire snapshots and data files. Mechanism to expire table metadata needs to be implemented (https://github.com/apache/incubator-iceberg/issues/181).