mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
dbms: added test for external sort [#METR-2944].
This commit is contained in:
parent
addd36bf85
commit
743caaef26
10
dbms/tests/queries/0_stateless/00110_external_sort.reference
Normal file
10
dbms/tests/queries/0_stateless/00110_external_sort.reference
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
7040546
|
||||||
|
4327029
|
||||||
|
1613512
|
||||||
|
8947307
|
||||||
|
6233790
|
||||||
|
3520273
|
||||||
|
806756
|
||||||
|
8140551
|
||||||
|
5427034
|
||||||
|
2713517
|
3
dbms/tests/queries/0_stateless/00110_external_sort.sql
Normal file
3
dbms/tests/queries/0_stateless/00110_external_sort.sql
Normal 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;
|
Loading…
Reference in New Issue
Block a user