test(promql): follow the instant value selection in the ranking fixture

Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
discord9
2026-10-28 13:01:57 +08:00
parent d2034c4552
commit 43365f7716
@@ -43,8 +43,8 @@ use std::sync::atomic::{AtomicBool, Ordering};
use std::task::{Context, Poll};
use crate::native::plan::{
BoundInput, BoundInstant, BoundVectorOp, Grouping, NativeExpr, NativeNode, NativeTree,
NativeType,
BoundInput, BoundInstant, BoundVectorOp, Grouping, InstantValue, NativeExpr, NativeNode,
NativeTree, NativeType,
};
const GRID_START: i64 = 300_000;
@@ -676,7 +676,7 @@ fn logical_select() -> VectorSelect {
lookback_ms: 300_000,
offset_ms: 0,
at_ms: None,
timestamp: false,
value: InstantValue::Sample,
output_grid: grid(),
},
},