mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
3 lines
207 B
SQL
3 lines
207 B
SQL
-- Checks that the random seed is different for multiple states of aggregation:
|
|
SELECT uniq(x) > 50 FROM (SELECT number, groupArraySample(10)(arrayJoin(range(1000))) AS x FROM numbers(100) GROUP BY number);
|