MCPcopy Create free account
hub / github.com/apache/datafusion / compare_with_eq

Function compare_with_eq

datafusion/physical-expr-common/src/datum.rs:122–132  ·  view source on GitHub ↗

Compare with eq with either nested or non-nested

(
    lhs: &dyn Datum,
    rhs: &dyn Datum,
    is_nested: bool,
)

Source from the content-addressed store, hash-verified

120
121/// Compare with eq with either nested or non-nested
122pub 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
135pub fn compare_op_for_nested(

Callers 4

case_when_with_exprMethod · 0.85
nullif_funcFunction · 0.85

Calls 2

compare_op_for_nestedFunction · 0.85
eqFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…