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 764883d commit d644bb5Copy full SHA for d644bb5
crates/iceberg/src/transaction/update_statistics.rs
@@ -68,6 +68,12 @@ impl UpdateStatisticsAction {
68
}
69
70
71
+impl Default for UpdateStatisticsAction {
72
+ fn default() -> Self {
73
+ Self::new()
74
+ }
75
+}
76
+
77
#[async_trait]
78
impl TransactionAction for UpdateStatisticsAction {
79
async fn commit(self: Arc<Self>, _table: &Table) -> Result<ActionCommit> {
@@ -82,7 +88,7 @@ impl TransactionAction for UpdateStatisticsAction {
82
88
})
83
89
} else {
84
90
updates.push(TableUpdate::RemoveStatistics {
85
- snapshot_id: snapshot_id.clone(),
91
+ snapshot_id: *snapshot_id,
86
92
87
93
94
});
0 commit comments