mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-28 13:44:03 +00:00
test: pass the engine state to the native operand test
The native operand planner now takes the engine state, which decides whether a statement is planned for remote regions. Keep the histogram operand contract test on that signature. Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
@@ -4875,9 +4875,10 @@ async fn native_fused_histogram_quantile_binary_drops_le_from_operand_matching()
|
||||
else {
|
||||
unreachable!()
|
||||
};
|
||||
let query_engine_state = build_query_engine_state();
|
||||
for operand in [&binary.lhs, &binary.rhs] {
|
||||
let (_, context) = planner
|
||||
.try_plan_native_operand(operand)
|
||||
.try_plan_native_operand(operand, &query_engine_state)
|
||||
.await
|
||||
.unwrap()
|
||||
.expect("each histogram call is admitted as one native operand");
|
||||
|
||||
Reference in New Issue
Block a user