fn collapse_repeated_samples(
record: RecordBatch,
last_kept: &mut Option<(Buffer, i64)>,
) -> Result<RecordBatch, BoxedError>Expand description
Drops a row that repeats the (primary key, timestamp) an earlier row of its series kept: an
append-mode tie keeps its first row, the one written last, which is also the row the existing
PromQL plan reads.