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

Function empty_metadata_branch_skipped

datafusion/expr/src/expr.rs:4312–4317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4310
4311 #[test]
4312 fn empty_metadata_branch_skipped() {
4313 let m1 = HashMap::from([("key".into(), "val".into())]);
4314 let m2 = HashMap::new(); // e.g. NULL literal
4315 let result = intersect_metadata_for_union([&m1, &m2]);
4316 assert_eq!(result, HashMap::from([("key".into(), "val".into())]));
4317 }
4318
4319 #[test]
4320 fn empty_metadata_first_branch_skipped() {

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
intoMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…