Update 03236_squashing_high_memory.sql

This commit is contained in:
Yarik Briukhovetskyi 2024-09-11 11:17:06 +02:00 committed by GitHub
parent 3d36f6dce3
commit fd3bd785b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,14 @@
-- Tags: no-fasttest
-- reason: test requires too many rows to read
SET max_rows_to_read = '501G';
DROP TABLE IF EXISTS id_values;
DROP TABLE IF EXISTS test_table;
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';