pub fn can_lower(data_type: &DataType) -> bool
Available on crate feature compute_utf8 only.
Expand description

Checks if an array of type datatype can perform lower operation

Examples

use arrow2::compute::utf8::can_lower;
use arrow2::datatypes::{DataType};

let data_type = DataType::Utf8;
assert_eq!(can_lower(&data_type), true);

let data_type = DataType::Null;
assert_eq!(can_lower(&data_type), false);