Skip to content

Commit

Permalink
TableUpdate RemoveStatistics
Browse files Browse the repository at this point in the history
  • Loading branch information
c-thiel committed Dec 14, 2024
1 parent 3a7a5f2 commit 71051d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/iceberg/src/catalog/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,13 +501,15 @@ impl TableUpdate {
builder.upgrade_format_version(format_version)
}
TableUpdate::SetStatistics { statistics } => Ok(builder.set_statistics(statistics)),
TableUpdate::RemoveStatistics { snapshot_id } => {
Ok(builder.remove_statistics(snapshot_id))
}
TableUpdate::SetPartitionStatistics {
partition_statistics,
} => Ok(builder.set_partition_statistics(partition_statistics)),
TableUpdate::RemovePartitionStatistics { snapshot_id } => {
Ok(builder.remove_partition_statistics(snapshot_id))
}
_ => todo!(),
}
}
}
Expand Down

0 comments on commit 71051d2

Please # to comment.