Skip to content

Commit

Permalink
Fix like_utf8 doctest
Browse files Browse the repository at this point in the history
It was broken properly, with a bug in test, after commit c296882

Can drop this after rebase on commit e8cc39e "Fix like regex escaping (apache#1085)", first released in 7.0.0
  • Loading branch information
mcheshkov committed Sep 5, 2024
1 parent 4668a6c commit 69cee22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow/src/compute/kernels/comparison.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ where
/// use arrow::compute::like_utf8;
///
/// let strings = StringArray::from(vec!["Arrow", "Arrow", "Arrow", "Ar"]);
/// let patterns = StringArray::from(vec!["A%", "B%", "A.", "A."]);
/// let patterns = StringArray::from(vec!["A%", "B%", "A.", "A_"]);
///
/// let result = like_utf8(&strings, &patterns).unwrap();
/// assert_eq!(result, BooleanArray::from(vec![true, false, false, true]));
Expand Down

0 comments on commit 69cee22

Please sign in to comment.