ClickHouse/tests/queries/0_stateless/02539_generate_random_map.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
290 B
MySQL
Raw Normal View History

2023-01-30 14:23:22 +00:00
-- 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
);