alamb commented on PR #18625:
URL: https://github.com/apache/datafusion/pull/18625#issuecomment-3518557338
> If you comment out the `and` and `or` special cases in `apply_operator`
you'll see the incorrect results.
In case anyone else is curious:
```
thread 'interval_arithmetic::tests::nullable_and_test' (25123332) panicked
at datafusion/expr-common/src/interval_arithmetic.rs:4580:13:
assertion `left == right` failed: Failed for NullableInterval: [false,
false] AND NullableInterval: {NULL}
left: Null { datatype: Boolean }
right: NotNull { values: Interval { lower: Boolean(false), upper:
Boolean(false) } }
...
thread 'interval_arithmetic::tests::nullable_or_test' (25123334) panicked at
datafusion/expr-common/src/interval_arithmetic.rs:4842:13:
assertion `left == right` failed: Failed for NullableInterval: [true, true]
OR NullableInterval: {NULL}
left: Null { datatype: Boolean }
right: NotNull { values: Interval { lower: Boolean(true), upper:
Boolean(true) } }
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]