MCPcopy Create free account
hub / github.com/apache/arrow-rs / test_null_array_is_not_null

Function test_null_array_is_not_null

arrow-arith/src/boolean.rs:909–918  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

907
908 #[test]
909 fn test_null_array_is_not_null() {
910 let a = NullArray::new(3);
911
912 let res = is_not_null(&a).unwrap();
913
914 let expected = BooleanArray::from(vec![false, false, false]);
915
916 assert_eq!(expected, res);
917 assert!(res.nulls().is_none());
918 }
919
920 #[test]
921 fn test_dense_union_is_null() {

Callers

nothing calls this directly

Calls 1

is_not_nullFunction · 0.85

Tested by

no test coverage detected