mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Add functional tests for hasTokenOrNull
This commit is contained in:
parent
06631f6a86
commit
0545622331
@ -1,2 +1,6 @@
|
||||
0
|
||||
\N
|
||||
\N
|
||||
0
|
||||
\N
|
||||
\N
|
||||
|
@ -2,6 +2,10 @@ SELECT hasTokenCaseInsensitive('K(G', ''); -- { serverError BAD_ARGUMENTS }
|
||||
SELECT hasTokenCaseInsensitive('Hello', ''); -- { serverError BAD_ARGUMENTS }
|
||||
SELECT hasTokenCaseInsensitive('', ''); -- { serverError BAD_ARGUMENTS }
|
||||
SELECT hasTokenCaseInsensitive('', 'Hello');
|
||||
SELECT hasTokenCaseInsensitiveOrNull('Hello', '');
|
||||
SELECT hasTokenCaseInsensitiveOrNull('', '');
|
||||
SELECT hasToken('Hello', ''); -- { serverError BAD_ARGUMENTS }
|
||||
SELECT hasToken('', 'Hello');
|
||||
SELECT hasToken('', ''); -- { serverError BAD_ARGUMENTS }
|
||||
SELECT hasTokenOrNull('', '');
|
||||
SELECT hasTokenOrNull('Hello', '');
|
||||
|
Loading…
Reference in New Issue
Block a user