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

Function unknown_function_errors

nodedb-query/src/window/value_eval.rs:613–619  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

611
612 #[test]
613 fn unknown_function_errors() {
614 let mut rows = rows_v(&[1]);
615 let cols = ci(&["v"]);
616 let s = spec("nonexistent", vec![], vec![], vec![]);
617 let err = evaluate_window_functions_value(&mut rows, &cols, &[s]).unwrap_err();
618 assert!(matches!(err, WindowError::ArgEval { .. }));
619 }
620
621 #[test]
622 fn missing_partition_column_is_null_keyed() {

Callers

nothing calls this directly

Calls 4

specFunction · 0.85
rows_vFunction · 0.70
ciFunction · 0.70

Tested by

no test coverage detected