ClickHouse/dbms/tests/queries/0_stateless/00900_entropy_shard.sql
2019-02-09 23:31:58 +03:00

3 lines
150 B
SQL

SELECT round(entropy(number), 6) FROM remote('127.0.0.{1,2}', numbers(256));
SELECT entropy(rand64()) > 8 FROM remote('127.0.0.{1,2}', numbers(256));