An Iceberg table must retain seven days of time travel while reclaiming files used only by older snapshots. Which maintenance approach meets both requirements?
Show the answer
Correct answerD. Expire older snapshots while preserving the required history
AWhy not this: An old file can still belong to a current or required snapshot; age-based deletion can corrupt the table.
BWhy not this: Compaction rewrites data files, but retained snapshots can still reference the original files.
CWhy not this: Files referenced by old snapshots are not orphans, so orphan cleanup leaves those files in place.
DWhy this is right: Expiration can preserve seven days of snapshots and reclaim files referenced only by expired snapshots.
Snapshot expiration removes obsolete snapshot references and can reclaim files no retained snapshot needs. Orphan-file removal does not remove files still referenced by older snapshots, so it cannot replace expiration.