Skip to content

Commit c34982a

Browse files
authored
Add equality_ids to FileScanTaskDeleteFile (#1235)
1 parent 3e1d59d commit c34982a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/iceberg/src/scan/task.rs

+4
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ impl From<&DeleteFileContext> for FileScanTaskDeleteFile {
9898
file_path: ctx.manifest_entry.file_path().to_string(),
9999
file_type: ctx.manifest_entry.content_type(),
100100
partition_spec_id: ctx.partition_spec_id,
101+
equality_ids: ctx.manifest_entry.data_file.equality_ids.clone(),
101102
}
102103
}
103104
}
@@ -113,4 +114,7 @@ pub struct FileScanTaskDeleteFile {
113114

114115
/// partition id
115116
pub partition_spec_id: i32,
117+
118+
/// equality ids for equality deletes (empty for positional deletes)
119+
pub equality_ids: Vec<i32>,
116120
}

0 commit comments

Comments
 (0)