Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ilike_ut8_scalar kernals have incorrect logic #2544

Closed
psvri opened this issue Aug 21, 2022 · 0 comments · Fixed by #2545
Closed

Ilike_ut8_scalar kernals have incorrect logic #2544

psvri opened this issue Aug 21, 2022 · 0 comments · Fixed by #2545
Labels
arrow Changes to the arrow crate bug

Comments

@psvri
Copy link
Contributor

psvri commented Aug 21, 2022

Describe the bug
Incorrect implemetation of ilike_utf8_scalars

To Reproduce
The below code fails

let left = StringArray::from(vec!["arrow", "parrow", "arrows", "arr"]);
let right = "ArroW";
let res = ilike_utf8_scalar(&left, right).unwrap();
assert!(res.value(0));

Expected behavior
The above code should pass

Additional context
In the equals path of ilike there is incorrect comparision

@psvri psvri added the bug label Aug 21, 2022
@alamb alamb added the arrow Changes to the arrow crate label Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants