@@ -27,6 +27,7 @@ use crate::table::Table;
2727use crate :: transaction:: snapshot:: {
2828 DefaultManifestProcess , SnapshotProduceOperation , SnapshotProducer ,
2929} ;
30+ use crate :: transaction:: validate:: SnapshotValidator ;
3031use crate :: transaction:: { ActionCommit , TransactionAction } ;
3132
3233/// FastAppendAction is a transaction action for fast append data files to the table.
@@ -103,6 +104,8 @@ impl TransactionAction for FastAppendAction {
103104 self . snapshot_properties . clone ( ) ,
104105 self . added_data_files . clone ( ) ,
105106 self . added_delete_files . clone ( ) ,
107+ vec ! [ ] ,
108+ vec ! [ ] ,
106109 ) ;
107110
108111 snapshot_producer. validate_added_data_files ( & self . added_data_files ) ?;
@@ -121,6 +124,8 @@ impl TransactionAction for FastAppendAction {
121124
122125struct FastAppendOperation ;
123126
127+ impl SnapshotValidator for FastAppendOperation { }
128+
124129impl SnapshotProduceOperation for FastAppendOperation {
125130 fn operation ( & self ) -> Operation {
126131 Operation :: Append
@@ -135,7 +140,7 @@ impl SnapshotProduceOperation for FastAppendOperation {
135140
136141 async fn existing_manifest (
137142 & self ,
138- snapshot_produce : & SnapshotProducer < ' _ > ,
143+ snapshot_produce : & mut SnapshotProducer < ' _ > ,
139144 ) -> Result < Vec < ManifestFile > > {
140145 let Some ( snapshot) = snapshot_produce. table . metadata ( ) . current_snapshot ( ) else {
141146 return Ok ( vec ! [ ] ) ;
0 commit comments