File tree Expand file tree Collapse file tree
iceberg-rust/src/table/transaction Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,6 +129,8 @@ impl<'table> TableTransaction<'table> {
129129 delete_files : vec ! [ ] ,
130130 } ) ,
131131 } ;
132+ } else {
133+ panic ! ( "Operation at APPEND_INDEX should be an Append" ) ;
132134 }
133135 } else {
134136 self . operations [ APPEND_INDEX ] = Some ( Operation :: Append {
@@ -166,7 +168,7 @@ impl<'table> TableTransaction<'table> {
166168 if let Operation :: Append {
167169 branch : _,
168170 dsn_groups,
169- additional_summary : None ,
171+ ..
170172 } = operation
171173 {
172174 match dsn_groups. last_mut ( ) {
@@ -176,6 +178,8 @@ impl<'table> TableTransaction<'table> {
176178 delete_files : files,
177179 } ) ,
178180 } ;
181+ } else {
182+ panic ! ( "Operation at APPEND_INDEX should be an Append" ) ;
179183 }
180184 } else {
181185 self . operations [ APPEND_INDEX ] = Some ( Operation :: Append {
You can’t perform that action at this time.
0 commit comments