Better test

This commit is contained in:
Alexey Milovidov 2020-05-17 09:52:33 +03:00
parent 1ebd71a230
commit 20c9c2d3ec
2 changed files with 22 additions and 0 deletions

View File

@ -158,3 +158,16 @@
18 18
19 19
20 20
0
1
2
3
4
5
6
7
8
9
100
100
200

View File

@ -13,3 +13,12 @@ SELECT DISTINCT intDiv(number, 10) FROM numbers(300);
SELECT DISTINCT intDiv(number, 10) FROM numbers(190); SELECT DISTINCT intDiv(number, 10) FROM numbers(190);
SELECT DISTINCT intDiv(number, 10) FROM numbers(200); SELECT DISTINCT intDiv(number, 10) FROM numbers(200);
SELECT DISTINCT intDiv(number, 10) FROM numbers(210); SELECT DISTINCT intDiv(number, 10) FROM numbers(210);
SET max_block_size = 10;
SET max_result_rows = 1;
SELECT number FROM system.numbers;
SELECT count() FROM numbers(100);
-- subquery result is not the total result
SELECT count() FROM (SELECT * FROM numbers(100));
-- remote query result is not the total result
SELECT count() FROM remote('127.0.0.{1,2}', numbers(100));