ClickHouse/tests/queries/0_stateless/00900_entropy_shard.sql

5 lines
166 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
-- 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));