You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found like '%START//END' or like '%START/END' both match 'STARTEND', instead of 'START/END'.
And that's unexpected, like backslash is being ignored in expression.
I can see the codes dealing with \_ and \% cases, why not the \\ case?
The text was updated successfully, but these errors were encountered:
lentil1016
changed the title
SQL: double backslash being ignored in like expression.
SQL v2: double backslash being ignored in like expression.
Jun 20, 2024
Hey @lentil1016 are you able to recreate this with the current code on main? I can't recreate it from your examples. Additionally, if you look in the test files (specifically
I found
like '%START//END'
orlike '%START/END'
both match 'STARTEND', instead of 'START/END'.And that's unexpected, like backslash is being ignored in expression.
I can see the codes dealing with
\_
and\%
cases, why not the\\
case?sdk-go/sql/v2/expression/like_expression.go
Lines 50 to 57 in 17059e8
The text was updated successfully, but these errors were encountered: