Skip to content

Commit

Permalink
fix broken assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Oct 16, 2024
1 parent 4469c1e commit 9dbfab9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/store/re_dataframe/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,11 @@ impl QueryHandle<'_> {
// remaining unique index values all while taking row-id ordering semantics
// into account.
debug_assert!(
chunk.is_sorted(),
if let Some(index) = self.query.filtered_index.as_ref() {
chunk.is_timeline_sorted(index)
} else {
chunk.is_sorted()
},
"the query cache should have already taken care of sorting (and densifying!) the chunk",
);

Expand Down

0 comments on commit 9dbfab9

Please sign in to comment.