pub fn gt_eq_dyn(left: &dyn Array, right: &dyn Array) -> Result<BooleanArray>
Expand description

Perform left >= right operation on two (dynamic) Arrays.

Only when two arrays are of the same type the comparison will happen otherwise it will err with a casting error.

Example

use arrow::array::{BooleanArray, StringArray};
use arrow::compute::gt_eq_dyn;
let array1 = StringArray::from(vec![Some(""), Some("aaa"), None]);
let array2 = StringArray::from(vec![Some(" "), Some("aa"), None]);
let result = gt_eq_dyn(&array1, &array2).unwrap();
assert_eq!(BooleanArray::from(vec![Some(false), Some(true), None]), result);