mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Better test
This commit is contained in:
parent
1ebd71a230
commit
20c9c2d3ec
@ -158,3 +158,16 @@
|
||||
18
|
||||
19
|
||||
20
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
100
|
||||
100
|
||||
200
|
||||
|
@ -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(200);
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user