MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / unknown_function_panics_at_evaluator

Function unknown_function_panics_at_evaluator

nodedb-query/src/window/eval.rs:262–273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260 #[test]
261 #[should_panic(expected = "should have been rejected at planning time")]
262 fn unknown_function_panics_at_evaluator() {
263 let mut rows = numbered(2);
264 let spec = WindowFuncSpec {
265 alias: "x".into(),
266 func_name: "frobnicate".into(),
267 args: vec![],
268 partition_by: vec![],
269 order_by: vec![],
270 frame: WindowFrame::default(),
271 };
272 evaluate_window_functions(&mut rows, &[spec]);
273 }
274}

Callers

nothing calls this directly

Calls 2

numberedFunction · 0.70

Tested by

no test coverage detected