Weird interaction with ~ and underscores in filters #1231
-
Beta Was this translation helpful? Give feedback.
Answered by
ganigeorgiev
Dec 11, 2022
Replies: 1 comment 2 replies
-
This is a bug with the escaping of the underscore character. The |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
DaniDipp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a bug with the escaping of the underscore character. The
~
operator converts the expression to a "LIKE" SQL comparison and while we escape the underscore, since it has special meaning for 1 wildcard character, we are missing theESCAPE
expression and the query is trying to match the literalkey\_
. I'll fix it sometime later today.