Skip to content

Commit c614d36

Browse files
UBarneyalamb
andauthored
Update datafusion/physical-optimizer/src/pruning.rs
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
1 parent e8914c0 commit c614d36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

datafusion/physical-optimizer/src/pruning.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,10 @@ fn build_like_match(
17161716
// The intuition is that if both `col_min` and `col_max` begin with `const_prefix` that means
17171717
// **all** data in this row group begins with `const_prefix` as well (and therefore the predicate
17181718
// looking for rows that don't begin with `const_prefix` can never be true)
1719+
//
1720+
// The intuition is that if both `col_min` and `col_max` begin with `const_prefix` that means
1721+
// **all** data in this row group begins with `const_prefix` as well (and therefore the predicate
1722+
// looking for rows that don't begin with `const_prefix` can never be true)
17191723
fn build_not_like_match(
17201724
expr_builder: &mut PruningExpressionBuilder<'_>,
17211725
) -> Result<Arc<dyn PhysicalExpr>> {

0 commit comments

Comments
 (0)