dbms: added test for external sort [#METR-2944].

This commit is contained in:
Alexey Milovidov 2015-01-18 06:48:44 +03:00
parent addd36bf85
commit 743caaef26
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,10 @@
7040546
4327029
1613512
8947307
6233790
3520273
806756
8140551
5427034
2713517

View File

@ -0,0 +1,3 @@
SET max_memory_usage = 100000000;
SET max_bytes_before_external_sort = 10000000;
SELECT number FROM (SELECT number FROM system.numbers LIMIT 10000000) ORDER BY number * 1234567890123456789 LIMIT 9999990, 10;