ClickHouse/tests/queries/0_stateless/02539_generate_random_low_cardinality.sql
Alexey Milovidov 2659818a66 Add a test
2023-01-26 15:42:17 +01:00

3 lines
209 B
SQL

-- Check that the function works for LowCardinality and gives at least something plausible:
SELECT uniq(x) > 1000 FROM (SELECT * FROM generateRandom('x Array(LowCardinality(Nullable(String)))') LIMIT 100000);