SELECT * FROM foo WHERE abc LIKE '%#\_%'
Ожидалось, что в выборку попаду все строки в поле abc которых есть значения вида blabla#_blabla#blabla
MySQL так и сделал, но не ClickHouse
Use the backslash (\) for escaping metasymbols. See the note on escaping in the description of the 'match' function.
Note that the backslash symbol (\) is used for escaping in the regular expression. The same symbol is used for escaping in string literals. So in order to escape the symbol in a regular expression, you must write two backslashes (\\) in a string literal.