mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
fix
This commit is contained in:
parent
4b5e28a9d1
commit
2ca21dfde7
@ -9,7 +9,7 @@ DROP TABLE IF EXISTS startsWith_test;
|
||||
CREATE TABLE startsWith_test(S1 String, S2 String, S3 FixedString(2)) ENGINE=Memory;
|
||||
INSERT INTO startsWith_test values ('11', '22', '33'), ('a', 'a', 'bb'), ('abc', 'ab', '23');
|
||||
|
||||
SELECT COUNT() FROM startsWith_test WHERE startsWith(s1, s1);
|
||||
SELECT COUNT() FROM startsWith_test WHERE startsWith(s1, s2);
|
||||
SELECT COUNT() FROM startsWith_test WHERE startsWith(s2, s3);
|
||||
SELECT COUNT() FROM startsWith_test WHERE startsWith(S1, S1);
|
||||
SELECT COUNT() FROM startsWith_test WHERE startsWith(S1, S2);
|
||||
SELECT COUNT() FROM startsWith_test WHERE startsWith(S2, S3);
|
||||
DROP TABLE startsWith_test;
|
@ -9,8 +9,8 @@ DROP TABLE IF EXISTS endsWith_test;
|
||||
CREATE TABLE endsWith_test(S1 String, S2 String, S3 FixedString(2)) ENGINE=Memory;
|
||||
INSERT INTO endsWith_test values ('11', '22', '33'), ('a', 'a', 'bb'), ('abc', 'bc', '23');
|
||||
|
||||
SELECT COUNT() FROM endsWith_test WHERE endsWith(s1, s1);
|
||||
SELECT COUNT() FROM endsWith_test WHERE endsWith(s1, s2);
|
||||
SELECT COUNT() FROM endsWith_test WHERE endsWith(s2, s3);
|
||||
SELECT COUNT() FROM endsWith_test WHERE endsWith(S1, S1);
|
||||
SELECT COUNT() FROM endsWith_test WHERE endsWith(S1, S2);
|
||||
SELECT COUNT() FROM endsWith_test WHERE endsWith(S2, S3);
|
||||
DROP TABLE endsWith_test;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user