deltalake_core::protocol::checkpoints

Function cleanup_metadata

Source
pub async fn cleanup_metadata(
    table: &DeltaTable,
) -> Result<usize, ProtocolError>
Expand description

Delete expires log files before given version from table. The table log retention is based on the logRetentionDuration property of the Delta Table, 30 days by default.