From ea2a5cc3f9823d849f1fafa476d9ae6ffca2e282 Mon Sep 17 00:00:00 2001 From: discord9 Date: Thu, 29 Oct 2026 18:02:16 +0800 Subject: [PATCH] docs(promql): correct the cross-partition merge boundary The guide said native execution does not merge one logical series split across partitions. That stopped being true when the repartition owner began finalizing an exact identity's fragments: the merge now happens at that boundary, and the remaining limit is a logical series split across regions. Signed-off-by: discord9 --- src/promql/AGENTS.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/promql/AGENTS.md b/src/promql/AGENTS.md index 6af954ee08e..437c58b1315 100644 --- a/src/promql/AGENTS.md +++ b/src/promql/AGENTS.md @@ -23,10 +23,11 @@ functions, vector matching and extension operators. Statement planning lives in Native PromQL is an experimental, standalone evaluation route alongside the existing DataFusion PromQL path. It operates on one storage region, which may -supply multiple scan partitions. It can evaluate each independent input series -in those partitions, but does not merge one logical series split across regions -or partitions; cross-region `SeriesMerge`/`Exchange` and global final-label -semantics are not implemented. Do not describe partition-local work as a global +supply multiple scan partitions. Where a boundary must answer one logical +series once, `SeriesRepartitionExec` merges that identity's fragments across +scan partitions and recomputes a single close for it. Cross-region +`SeriesMerge`/`Exchange` are still not implemented, so a logical series split +across regions is not merged. Do not describe partition-local work as a global series merge. Vector operations use the existing vector-matching semantics; do not describe