We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72fd726 commit 5cf4cbbCopy full SHA for 5cf4cbb
crates/iceberg/src/transaction/update_statistics.rs
@@ -104,7 +104,7 @@ mod tests {
104
.apply()
105
.unwrap();
106
107
- let TableUpdate::SetStatistics { statistics } = tx.updates.get(0).unwrap().clone() else {
+ let TableUpdate::SetStatistics { statistics } = tx.updates.first().unwrap().clone() else {
108
panic!("The update should be a TableUpdate::SetStatistics!");
109
};
110
assert_eq!(statistics, statistics_file_1);
0 commit comments