pub fn prune_hypertable_chunks(
spec: &HypertableSpec,
chunks: &[ChunkMeta],
filter: Option<&Filter>,
) -> Vec<ChunkMeta>Expand description
Return the subset of chunks that may contain a row matching
filter’s temporal predicate.
filter == None(noWHERE) → every chunk is kept.- a
WHEREthat doesn’t constrain the time column → every chunk is kept (conservative). - a temporal predicate → only chunks whose
[start_ns, end_ns)interval overlaps the predicate window survive.
Ordering mirrors the input chunks slice.