dbms: added test [#METR-18644].

This commit is contained in:
Alexey Milovidov 2015-11-05 15:42:54 +03:00
parent 7829695455
commit 4e732a4d65
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
0
1
2
3
4
5
6
7
8
9

View File

@ -0,0 +1 @@
SELECT number AS k FROM (SELECT number FROM system.numbers LIMIT 110000 SETTINGS max_result_rows = 0) GROUP BY k ORDER BY k LIMIT 10 SETTINGS max_result_rows = 100000, result_overflow_mode = 'break';