ClickHouse/tests/queries/0_stateless/00900_entropy_shard.sql
2021-09-12 17:15:28 +03:00

5 lines
166 B
SQL

-- Tags: shard
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));