Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
is_null in datafusion::common::arrow::compute - Rust
[go: Go Back, main page]

Function is_null

Source
pub fn is_null(input: &dyn Array) -> Result<BooleanArray, ArrowError>
Expand description

Returns a non-null BooleanArray with whether each value of the array is null.

§Error

This function never errors.

§Example

let a = BooleanArray::from(vec![Some(false), Some(true), None]);
let a_is_null = is_null(&a).unwrap();
assert_eq!(a_is_null, BooleanArray::from(vec![false, false, true]));