mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
18 lines
290 B
SQL
18 lines
290 B
SQL
-- Check that max length works
|
|
|
|
SELECT max(length(mapKeys(a)))
|
|
FROM
|
|
(
|
|
SELECT a
|
|
FROM generateRandom('a Map(String, String)', 20, 5, 1)
|
|
LIMIT 1000
|
|
);
|
|
|
|
SELECT max(length(mapKeys(a)))
|
|
FROM
|
|
(
|
|
SELECT a
|
|
FROM generateRandom('a Map(String, String)', 20, 5, 20)
|
|
LIMIT 1000
|
|
);
|