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 2572fcc commit 6509103Copy full SHA for 6509103
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