mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update 03236_squashing_high_memory.sql
This commit is contained in:
parent
3d36f6dce3
commit
fd3bd785b8
@ -1,12 +1,14 @@
|
|||||||
-- Tags: no-fasttest
|
-- Tags: no-fasttest
|
||||||
-- reason: test requires too many rows to read
|
-- reason: test requires too many rows to read
|
||||||
|
|
||||||
|
SET max_rows_to_read = '501G';
|
||||||
|
|
||||||
DROP TABLE IF EXISTS id_values;
|
DROP TABLE IF EXISTS id_values;
|
||||||
|
|
||||||
DROP TABLE IF EXISTS test_table;
|
DROP TABLE IF EXISTS test_table;
|
||||||
|
|
||||||
CREATE TABLE id_values ENGINE MergeTree ORDER BY id1 AS
|
CREATE TABLE id_values ENGINE MergeTree ORDER BY id1 AS
|
||||||
SELECT arrayJoin(range(20000)) AS id1, arrayJoin(range(1000)) AS id2;
|
SELECT arrayJoin(range(500000)) AS id1, arrayJoin(range(1000)) AS id2;
|
||||||
|
|
||||||
SET max_memory_usage = '1G';
|
SET max_memory_usage = '1G';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user