mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
add test
This commit is contained in:
parent
3aa24d39d4
commit
cf9c03a7bd
@ -0,0 +1,9 @@
|
||||
0
|
||||
0
|
||||
1
|
||||
1
|
||||
0
|
||||
0
|
||||
1
|
||||
1
|
||||
1
|
2
dbms/tests/queries/0_stateless/00625_startsWith.sql
Normal file
2
dbms/tests/queries/0_stateless/00625_startsWith.sql
Normal file
@ -0,0 +1,2 @@
|
||||
SELECT startsWith(s, 'He') FROM (SELECT arrayJoin(['', 'H', 'He', 'Hellow', '3434', 'fffffffffdHe']) AS s)
|
||||
SELECT startsWith(s, '') FROM (SELECT arrayJoin(['', 'h', 'hi']) AS s)
|
9
dbms/tests/queries/0_stateless/00626_endsWith.reference
Normal file
9
dbms/tests/queries/0_stateless/00626_endsWith.reference
Normal file
@ -0,0 +1,9 @@
|
||||
0
|
||||
0
|
||||
1
|
||||
1
|
||||
0
|
||||
0
|
||||
1
|
||||
1
|
||||
1
|
2
dbms/tests/queries/0_stateless/00626_endsWith.sql
Normal file
2
dbms/tests/queries/0_stateless/00626_endsWith.sql
Normal file
@ -0,0 +1,2 @@
|
||||
SELECT endsWith(s, 'ow') FROM (SELECT arrayJoin(['', 'o', 'ow', 'Hellow', '3434', 'owfffffffdHe']) AS s)
|
||||
SELECT endsWith(s, '') FROM (SELECT arrayJoin(['', 'h', 'hi']) AS s)
|
Loading…
Reference in New Issue
Block a user