mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-14 14:56:54 +00:00
test(promql): give the fused series windows no range modifier
Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
This commit is contained in:
@@ -165,6 +165,7 @@ fn rate_tree_of(schema: Arc<SeriesSchema>) -> NativeTree {
|
||||
range_ms: RANGE_MS,
|
||||
offset_ms: 0,
|
||||
anchor_ms: None,
|
||||
modifier: None,
|
||||
},
|
||||
// The input is raw samples, so it has no grid of its own.
|
||||
input_grid: None,
|
||||
@@ -201,6 +202,7 @@ fn instant_window_tree() -> NativeTree {
|
||||
range_ms: RANGE_MS,
|
||||
offset_ms: 0,
|
||||
anchor_ms: None,
|
||||
modifier: None,
|
||||
},
|
||||
input_grid: Some(Arc::clone(&grid)),
|
||||
output_grid: grid,
|
||||
@@ -248,6 +250,7 @@ fn nested_window_tree() -> NativeTree {
|
||||
range_ms: 1_000,
|
||||
offset_ms: 0,
|
||||
anchor_ms: None,
|
||||
modifier: None,
|
||||
},
|
||||
// The inner window's input is raw samples, so it has no grid of its own.
|
||||
input_grid: None,
|
||||
@@ -262,6 +265,7 @@ fn nested_window_tree() -> NativeTree {
|
||||
range_ms: 2_000,
|
||||
offset_ms: 0,
|
||||
anchor_ms: None,
|
||||
modifier: None,
|
||||
},
|
||||
// The outer window reads the inner one's evaluated output, on that output's grid,
|
||||
// and reports one value per field there like the inner one does.
|
||||
|
||||
Reference in New Issue
Block a user