CatalogTableOptimizerConfigurationRetentionConfigurationIcebergConfiguration

data class CatalogTableOptimizerConfigurationRetentionConfigurationIcebergConfiguration(val cleanExpiredFiles: Boolean? = null, val numberOfSnapshotsToRetain: Int? = null, val snapshotRetentionPeriodInDays: Int? = null)

Constructors

constructor(cleanExpiredFiles: Boolean? = null, numberOfSnapshotsToRetain: Int? = null, snapshotRetentionPeriodInDays: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If set to false, snapshots are only deleted from table metadata, and the underlying data and metadata files are not deleted. Defaults to false.

Link copied to clipboard

The number of Iceberg snapshots to retain within the retention period. Defaults to 1 or the corresponding Iceberg table configuration field if it exists.

Link copied to clipboard

The number of days to retain the Iceberg snapshots. Defaults to 5, or the corresponding Iceberg table configuration field if it exists.