pub fn new_null_array(data_type: DataType, length: usize) -> Box<dyn Array>
Expand description

Creates a new Array of DataType data_type and length. The array is guaranteed to have Array::null_count equal to Array::len for all types except Union, which does not have a validity.