Skip to content

Commit 3fc1e0a

Browse files
author
B Vadlamani
committed
init
1 parent 6bda7fc commit 3fc1e0a

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

  • datafusion/physical-plan/src/joins

datafusion/physical-plan/src/joins/utils.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,28 +1817,6 @@ pub(super) fn equal_rows_arr(
18171817
Ok((left_builder.finish(), right_builder.finish()))
18181818
}
18191819

1820-
// version of eq_dyn supporting equality on null arrays
1821-
fn eq_dyn_null(
1822-
left: &dyn Array,
1823-
right: &dyn Array,
1824-
null_equality: NullEquality,
1825-
) -> Result<BooleanArray, ArrowError> {
1826-
// Nested datatypes cannot use the underlying not_distinct/eq function and must use a special
1827-
// implementation
1828-
// <https://github.com/apache/datafusion/issues/10749>
1829-
if left.data_type().is_nested() {
1830-
let op = match null_equality {
1831-
NullEquality::NullEqualsNothing => Operator::Eq,
1832-
NullEquality::NullEqualsNull => Operator::IsNotDistinctFrom,
1833-
};
1834-
return Ok(compare_op_for_nested(op, &left, &right)?);
1835-
}
1836-
match null_equality {
1837-
NullEquality::NullEqualsNothing => eq(&left, &right),
1838-
NullEquality::NullEqualsNull => not_distinct(&left, &right),
1839-
}
1840-
}
1841-
18421820
/// Get comparison result of two rows of join arrays
18431821
pub fn compare_join_arrays(
18441822
left_arrays: &[ArrayRef],

0 commit comments

Comments
 (0)