Skip to main content

should_prune_bulk_part

Function should_prune_bulk_part 

Source
pub(crate) fn should_prune_bulk_part(
    batch: &DfRecordBatch,
    context: &BulkIterContext,
    metadata: &RegionMetadata,
) -> bool
Expand description

Returns true if the batch should be pruned (skipped) based on the first-tag min/max statistics and the predicate in the context. Returns false if no pruning is possible (no primary key, no predicate, or the batch matches the predicate).