mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
Add REGEXP operator (Bug: 47530)
This commit is contained in:
parent
a2ed794518
commit
5091bd42f0
@ -2255,6 +2255,7 @@ std::vector<std::pair<const char *, Operator>> ParserExpressionImpl::operators_t
|
||||
{"ILIKE", Operator("ilike", 8, 2)},
|
||||
{"NOT LIKE", Operator("notLike", 8, 2)},
|
||||
{"NOT ILIKE", Operator("notILike", 8, 2)},
|
||||
{"REGEXP", Operator("match", 8, 2)},
|
||||
{"IN", Operator("in", 8, 2)},
|
||||
{"NOT IN", Operator("notIn", 8, 2)},
|
||||
{"GLOBAL IN", Operator("globalIn", 8, 2)},
|
||||
|
@ -0,0 +1 @@
|
||||
1
|
1
tests/queries/0_stateless/25401_regexp_operator.sql
Normal file
1
tests/queries/0_stateless/25401_regexp_operator.sql
Normal file
@ -0,0 +1 @@
|
||||
SELECT 'ab' REGEXP 'a.*b';
|
Loading…
Reference in New Issue
Block a user