Compare with eq with either nested or non-nested
(
lhs: &dyn Datum,
rhs: &dyn Datum,
is_nested: bool,
)
| 120 | |
| 121 | /// Compare with eq with either nested or non-nested |
| 122 | pub fn compare_with_eq( |
| 123 | lhs: &dyn Datum, |
| 124 | rhs: &dyn Datum, |
| 125 | is_nested: bool, |
| 126 | ) -> Result<BooleanArray> { |
| 127 | if is_nested { |
| 128 | compare_op_for_nested(Operator::Eq, lhs, rhs) |
| 129 | } else { |
| 130 | eq(lhs, rhs).map_err(|e| arrow_datafusion_err!(e)) |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | /// Compare on nested type List, Struct, and so on |
| 135 | pub fn compare_op_for_nested( |
no test coverage detected
searching dependent graphs…