diff options
Diffstat (limited to 'src/core/object_table.rs')
-rw-r--r-- | src/core/object_table.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/object_table.rs b/src/core/object_table.rs index 1fe2b3d4..e4c78524 100644 --- a/src/core/object_table.rs +++ b/src/core/object_table.rs @@ -158,8 +158,10 @@ impl TableSchema for ObjectTable { Ok(()) } - fn matches_filter(_entry: &Self::E, _filter: &Self::Filter) -> bool { - // TODO - true + fn matches_filter(entry: &Self::E, _filter: &Self::Filter) -> bool { + entry + .versions + .iter() + .any(|x| x.is_complete && x.data != ObjectVersionData::DeleteMarker) } } |