Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.9.4
-
None
Description
Fix matching a literal backslash in LIKE. As an example,
SELECT "test\\string" LIKE "%\\\\%"
Also, fix the issue with a dynamic and changing pattern in regexp_*() functions (and functions using regex matcher class). Here is an example, for a dataset with the below tuples
{ "id": 1, "test_str": "hello world", "pattern": "h"} { "id": 2, "test_str": "hello world", "pattern": "H"} FROM ds SELECT regexp_contains(test_str, pattern, "i"); -- "i" flag means case insenstive