mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
Kusto-phase1 :
Add new test cases
This commit is contained in:
parent
e67031e3f8
commit
bc1846f07b
@ -477,6 +477,14 @@ INSTANTIATE_TEST_SUITE_P(ParserKQLQuery, ParserTest,
|
|||||||
{
|
{
|
||||||
"Customers | where FirstName matches regex 'P.*r'",
|
"Customers | where FirstName matches regex 'P.*r'",
|
||||||
"SELECT *\nFROM Customers\nWHERE match(FirstName, 'P.*r')"
|
"SELECT *\nFROM Customers\nWHERE match(FirstName, 'P.*r')"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Customers | where FirstName startswith 'pet'",
|
||||||
|
"SELECT *\nFROM Customers\nWHERE FirstName ILIKE 'pet%'"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Customers | where FirstName !startswith 'pet'",
|
||||||
|
"SELECT *\nFROM Customers\nWHERE NOT (FirstName ILIKE 'pet%')"
|
||||||
}
|
}
|
||||||
})));
|
})));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user