Added a test for entropy aggregate function ser/de

This commit is contained in:
Alexey Milovidov 2019-02-09 23:31:58 +03:00
parent f82aa5747a
commit 7b174c4940
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
8
1

View File

@ -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));