We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 992e9b8 commit 909a3b7Copy full SHA for 909a3b7
datafusion/optimizer/src/simplify_expressions/guarantees.rs
@@ -170,7 +170,7 @@ impl<'a> TreeNodeRewriter for GuaranteeRewriter<'a> {
170
.filter_map(|expr| {
171
if let Expr::Literal(item) = expr {
172
match interval
173
- .contains(&NullableInterval::from(item.clone()))
+ .contains(NullableInterval::from(item.clone()))
174
{
175
// If we know for certain the value isn't in the column's interval,
176
// we can skip checking it.
0 commit comments