ClickHouse/dbms/tests/queries/0_stateless/00337_any_heavy.sql
2016-07-17 20:07:34 +03:00

3 lines
177 B
SQL

SELECT anyHeavy(x) FROM (SELECT intHash64(number) % 100 < 60 ? 999 : number AS x FROM system.numbers LIMIT 100000);
SELECT anyHeavy(1) FROM remote('127.0.0.{1,2}', system.one);