mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
6 lines
426 B
SQL
6 lines
426 B
SQL
SELECT randomFixedString('string'); -- { serverError 43 }
|
|
SELECT randomFixedString(0); -- { serverError 69 }
|
|
SELECT randomFixedString(rand() % 10); -- { serverError 44 }
|
|
SELECT toTypeName(randomFixedString(10));
|
|
SELECT DISTINCT c > 30000 FROM (SELECT arrayJoin(arrayMap(x -> reinterpretAsUInt8(substring(randomFixedString(100), x + 1, 1)), range(100))) AS byte, count() AS c FROM numbers(100000) GROUP BY byte ORDER BY byte);
|