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:
discord9
2026-11-05 22:16:57 +08:00
parent 58738b80c7
commit 7d942aaa3d
+2 -1
View File
@@ -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");