pub fn filter_batch(
batch: &RecordBatch,
time_start: i64,
time_end: i64,
tag_filters: &[(&str, &str)],
) -> Result<RecordBatch>Expand description
Apply time range and tag filters to a RecordBatch.
This is the main entry point for the filter pipeline. It:
- Applies the time range filter on the
_timecolumn - Applies tag equality filters on the specified columns
- Combines all masks with AND
- Filters the batch
Returns the filtered RecordBatch.
ยงErrors
Returns an error if columns are not found or have wrong types.