Set index granularity settings for other two lightweight delete tests

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2023-04-05 10:18:57 +02:00
parent 7f1569dd6e
commit 8f06972dc5
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ select table, partition, name, rows from system.parts where database = currentDa
drop table t_light;
SELECT '-----Test lightweight delete in multi blocks-----';
CREATE TABLE t_large(a UInt32, b int) ENGINE=MergeTree order BY a settings min_bytes_for_wide_part=0;
CREATE TABLE t_large(a UInt32, b int) ENGINE=MergeTree order BY a settings min_bytes_for_wide_part=0, index_granularity=8192, index_granularity_bytes='10Mi';
INSERT INTO t_large SELECT number + 1, number + 1 FROM numbers(100000);
DELETE FROM t_large WHERE a = 50000;

View File

@ -80,7 +80,7 @@ select table, partition, name, rows from system.parts where database = currentDa
drop table t_light;
SELECT '-----Test lightweight delete in multi blocks-----';
CREATE TABLE t_large(a UInt32, b int) ENGINE=MergeTree order BY a settings min_bytes_for_wide_part=0;
CREATE TABLE t_large(a UInt32, b int) ENGINE=MergeTree order BY a settings min_bytes_for_wide_part=0, index_granularity=8192, index_granularity_bytes='10Mi';
INSERT INTO t_large SELECT number + 1, number + 1 FROM numbers(100000);
DELETE FROM t_large WHERE a = 50000;