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

Function string_set_empty

datafusion/physical-expr-common/src/binary_map.rs:620–627  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

618
619 #[test]
620 fn string_set_empty() {
621 let mut set = ArrowBytesSet::<i32>::new(OutputType::Utf8);
622 let array: ArrayRef = Arc::new(StringArray::new_null(0));
623 set.insert(&array);
624 assert_eq!(set.len(), 0);
625 assert_eq!(set.non_null_len(), 0);
626 assert_set(set, &[]);
627 }
628
629 #[test]
630 fn string_set_one_null() {

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
assert_setFunction · 0.70
insertMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…