We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b159444 commit eeabfc6Copy full SHA for eeabfc6
1 file changed
iceberg-rust/src/table/transaction/operation.rs
@@ -108,6 +108,10 @@ impl Operation {
108
let n_data_files = data_files.len();
109
let n_delete_files = delete_files.len();
110
111
+ if n_data_files + n_delete_files == 0 {
112
+ return Ok((None, Vec::new()));
113
+ }
114
+
115
let data_files_iter = delete_files.iter().chain(data_files.iter());
116
117
let manifest_list_writer = if let Some(manifest_list_bytes) =
0 commit comments