Files
greptimedb/src
discord9 167d605edb test(promql): fold the batch-path chunk before comparing against the per-window series
`a_batch_spanning_fields_and_the_flush_threshold_matches_the_per_window_path`
compared the two paths as `Series`, but `push` hands out an `EvaluatedChunk`. Taking
`.series` is not enough: a chunk's grid range reports the positions its push
decided, which can include leading and trailing positions holding no value, while
the reference assertion requires the grid range to be trimmed to the valid rows.
The batch path reported `(0, 600)` against the expected `(1, 599)`.

Fold the chunk back into one series first, which trims to the valid rows the same
way, and compare that. The rebase also removed the `sum` helper along with the
test `overlapping_window_spans_chunks`, so the now-unused `floats` helper goes
with it.

Signed-off-by: discord9 <discord9@users.noreply.github.com>
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
2026-10-19 15:37:00 +08:00
..