mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
Added another test
This commit is contained in:
parent
80849e0fd7
commit
e6f1fdc011
@ -0,0 +1,13 @@
|
|||||||
|
1000000
|
||||||
|
0
|
||||||
|
|
||||||
|
1
|
||||||
|
22
|
||||||
|
333
|
||||||
|
4444
|
||||||
|
55555
|
||||||
|
666666
|
||||||
|
7777777
|
||||||
|
88888888
|
||||||
|
999999999
|
||||||
|
10101010101010101010
|
@ -0,0 +1,6 @@
|
|||||||
|
SELECT length(repeat('x', 1000000));
|
||||||
|
SELECT length(repeat('', 1000000));
|
||||||
|
SELECT length(repeat('x', 1000001)); -- { serverError 131 }
|
||||||
|
SET max_memory_usage = 100000000;
|
||||||
|
SELECT length(repeat(repeat('Hello, world!', 1000000), 10)); -- { serverError 241 }
|
||||||
|
SELECT repeat(toString(number), number) FROM system.numbers LIMIT 11;
|
Loading…
Reference in New Issue
Block a user