andygrove commented on PR #3275:
URL:
https://github.com/apache/arrow-datafusion/pull/3275#issuecomment-1230329869
Actually, one other thing will be to map these new `Expr` to the same
physical plan as `Is[Not]DistinctFrom` in the physical planner:
```rust
Operator::IsDistinctFrom => {
match (left_data_type, right_data_type) {
// exchange lhs and rhs when lhs is Null, since
`binary_array_op` is
// always try to down cast array according to $LEFT
expression.
(DataType::Null, _) => {
binary_array_op!(right, left, is_distinct_from)
}
_ => binary_array_op!(left, right, is_distinct_from),
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]