Skip to content

Commit

Permalink
compare substring first
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal committed Sep 11, 2024
1 parent a854dd4 commit 62f2307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/functions/src/unicode/strpos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ where
V1: StringArrayType<'a, Item = &'a str>,
V2: StringArrayType<'a, Item = &'a str>,
{
let ascii_only = string_array.is_ascii() && substring_array.is_ascii();
let ascii_only = substring_array.is_ascii() && string_array.is_ascii();
let string_iter = string_array.iter();
let substring_iter = substring_array.iter();

Expand Down

0 comments on commit 62f2307

Please sign in to comment.