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

Incorrect LIKE result when pattern contains \\ double backslash #13304

Open
findepi opened this issue Nov 8, 2024 · 1 comment
Open

Incorrect LIKE result when pattern contains \\ double backslash #13304

findepi opened this issue Nov 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@findepi
Copy link
Member

findepi commented Nov 8, 2024

Incorrect LIKE result when pattern contains \\ two backslashes

\ in LIKE pattern is an escape character (but see #13291)

query B
SELECT '%' LIKE '\%'
----
true

query B
SELECT 'a' LIKE '\%'
----
false

so this should return true

# should be true
query B
SELECT '\a' LIKE '\\%'
----
false

notes

@findepi
Copy link
Member Author

findepi commented Nov 8, 2024

Should be fixed by apache/arrow-rs#6703

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant