diff --git a/dbms/tests/queries/0_stateless/00900_entropy_shard.reference b/dbms/tests/queries/0_stateless/00900_entropy_shard.reference new file mode 100644 index 00000000000..7232953ef90 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00900_entropy_shard.reference @@ -0,0 +1,2 @@ +8 +1 diff --git a/dbms/tests/queries/0_stateless/00900_entropy_shard.sql b/dbms/tests/queries/0_stateless/00900_entropy_shard.sql new file mode 100644 index 00000000000..6e343614bd2 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00900_entropy_shard.sql @@ -0,0 +1,2 @@ +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));