MCPcopy Create free account
hub / github.com/apache/datafusion / test_all_positional

Function test_all_positional

datafusion/expr/src/arguments.rs:184–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182
183 #[test]
184 fn test_all_positional() {
185 let param_names = vec!["a".to_string(), "b".to_string()];
186
187 let args = vec![lit(1), lit("hello")];
188 let arg_names = vec![None, None];
189
190 let result =
191 resolve_function_arguments(&param_names, args.clone(), arg_names).unwrap();
192 assert_eq!(result.len(), 2);
193 }
194
195 #[test]
196 fn test_all_named() {

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…