mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Fixed test [#CLICKHOUSE-2].
This commit is contained in:
parent
53364dcc8d
commit
1d93e93af3
@ -3,6 +3,6 @@ bar bar
|
|||||||
boa b*a
|
boa b*a
|
||||||
foo f**
|
foo f**
|
||||||
54db0d43009d\0\0\0\0 54db0d43009d****
|
54db0d43009d\0\0\0\0 54db0d43009d****
|
||||||
fe2b58224766cf10 fe2b58224766cf10
|
|
||||||
54db0d43009d\0\0\0\0 54db0d43009d****
|
54db0d43009d\0\0\0\0 54db0d43009d****
|
||||||
fe2b58224766cf10 fe2b58224766cf10
|
fe2b58224766cf10 fe2b58224766cf10
|
||||||
|
fe2b58224766cf10 fe2b58224766cf10
|
||||||
|
@ -15,9 +15,7 @@ ORDER BY str ASC;
|
|||||||
DROP TABLE test.replaceall;
|
DROP TABLE test.replaceall;
|
||||||
|
|
||||||
CREATE TABLE test.replaceall (date Date DEFAULT today(), fs FixedString(16)) ENGINE = MergeTree(date, (date, fs), 8192);
|
CREATE TABLE test.replaceall (date Date DEFAULT today(), fs FixedString(16)) ENGINE = MergeTree(date, (date, fs), 8192);
|
||||||
INSERT INTO test (fs) VALUES
|
INSERT INTO test.replaceall (fs) VALUES ('54db0d43009d\0\0\0\0'), ('fe2b58224766cf10'), ('54db0d43009d\0\0\0\0'), ('fe2b58224766cf10');
|
||||||
('54db0d43009d\0\0\0\0'), ('fe2b58224766cf10'),
|
|
||||||
('54db0d43009d\0\0\0\0'), ('fe2b58224766cf10');
|
|
||||||
|
|
||||||
SELECT fs, replaceAll(fs, '\0', '*')
|
SELECT fs, replaceAll(fs, '\0', '*')
|
||||||
FROM test.replaceall
|
FROM test.replaceall
|
||||||
|
Loading…
Reference in New Issue
Block a user